Skip to content

Commit af204b6

Browse files
[MIG] web_quick_start_screen: Migration to 19.0
1 parent 469eddd commit af204b6

15 files changed

Lines changed: 376 additions & 62 deletions

web_quick_start_screen/README.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
==================
26
Quick Start Screen
37
==================
@@ -13,17 +17,17 @@ Quick Start Screen
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
20-
:target: https://github.com/OCA/web/tree/18.0/web_quick_start_screen
24+
:target: https://github.com/OCA/web/tree/19.0/web_quick_start_screen
2125
:alt: OCA/web
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_quick_start_screen
27+
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_quick_start_screen
2428
:alt: Translate me on Weblate
2529
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -99,7 +103,7 @@ Bug Tracker
99103
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
100104
In case of trouble, please check there if your issue has already been reported.
101105
If you spotted it first, help us to smash it by providing a detailed and welcomed
102-
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_quick_start_screen%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
106+
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_quick_start_screen%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
103107

104108
Do not contact contributors directly about support or help with technical issues.
105109

@@ -132,6 +136,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
132136
mission is to support the collaborative development of Odoo features and
133137
promote its widespread use.
134138

135-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_quick_start_screen>`_ project on GitHub.
139+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/19.0/web_quick_start_screen>`_ project on GitHub.
136140

137141
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

web_quick_start_screen/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Quick Start Screen",
55
"summary": "Configurable start screen for quick actions",
6-
"version": "18.0.1.0.0",
6+
"version": "19.0.1.0.0",
77
"author": "Tecnativa, Odoo Community Association (OCA)",
88
"website": "https://github.com/OCA/web",
99
"license": "AGPL-3",

web_quick_start_screen/demo/quick_screen_action_demo_data.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo noupdate="0">
3-
<record id="quick_start_screen_action_contacts" model="quick.start.screen.action">
3+
<record
4+
id="quick_start_screen_action_contacts_demo"
5+
model="quick.start.screen.action"
6+
>
47
<field name="name">Contacts</field>
58
<field
69
name="description"
@@ -10,7 +13,7 @@
1013
<field name="color">7</field>
1114
</record>
1215
<record
13-
id="quick_start_screen_action_access_rights"
16+
id="quick_start_screen_action_access_rights_demo"
1417
model="quick.start.screen.action"
1518
>
1619
<field name="name">Access rights</field>
@@ -22,7 +25,7 @@
2225
<field name="color">4</field>
2326
</record>
2427
<record
25-
id="quick_start_screen_action_config_actions"
28+
id="quick_start_screen_action_config_actions_demo"
2629
model="quick.start.screen.action"
2730
>
2831
<field name="name">Configure screen actions</field>
@@ -43,12 +46,12 @@
4346
<field name="name">Demo start screen</field>
4447
<field
4548
name="action_ids"
46-
eval="[Command.link(ref('web_quick_start_screen.quick_start_screen_action_contacts')), Command.link(ref('web_quick_start_screen.quick_start_screen_action_config_actions'))]"
49+
eval="[Command.link(ref('web_quick_start_screen.quick_start_screen_action_contacts_demo')), Command.link(ref('web_quick_start_screen.quick_start_screen_action_config_actions_demo'))]"
4750
/>
4851
</record>
4952
<record id="base.user_demo" model="res.users">
5053
<field
51-
name="groups_id"
54+
name="group_ids"
5255
eval="[Command.link(ref('web_quick_start_screen.group_quick_start_screen'))]"
5356
/>
5457
<field name="quick_start_screen_id" ref="quick_start_screen_demo" />

web_quick_start_screen/i18n/es.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0\n"
7+
"Project-Id-Version: Odoo Server 19.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2024-08-23 12:21+0000\n"
1010
"PO-Revision-Date: 2026-04-13 08:14+0000\n"
@@ -18,22 +18,22 @@ msgstr ""
1818
"X-Generator: Weblate 5.15.2\n"
1919

2020
#. module: web_quick_start_screen
21-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts
21+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts_demo
2222
msgid "<span>Browse <b>contacts</b></span>"
2323
msgstr "<span>Explorar <b>contactos</b></span>"
2424

2525
#. module: web_quick_start_screen
26-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions
26+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions_demo
2727
msgid "<span>Configure this <b>screen actions</b></span>"
2828
msgstr "<span>Configurar <b>acciones de pantalla</b></span>"
2929

3030
#. module: web_quick_start_screen
31-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights
31+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights_demo
3232
msgid "<span>Explore <b>access rights</b></span>"
3333
msgstr "<span>Ver <b>derechos de acceso</b></span>"
3434

3535
#. module: web_quick_start_screen
36-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights
36+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights_demo
3737
msgid "Access rights"
3838
msgstr "Derechos de acceso"
3939

@@ -90,12 +90,12 @@ msgid "Color"
9090
msgstr "Color"
9191

9292
#. module: web_quick_start_screen
93-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions
93+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions_demo
9494
msgid "Configure screen actions"
9595
msgstr "Configurar acciones de pantalla"
9696

9797
#. module: web_quick_start_screen
98-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts
98+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts_demo
9999
msgid "Contacts"
100100
msgstr "Contactos"
101101

web_quick_start_screen/i18n/it.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 18.0\n"
7+
"Project-Id-Version: Odoo Server 19.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"PO-Revision-Date: 2025-04-15 14:30+0000\n"
1010
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
@@ -17,22 +17,22 @@ msgstr ""
1717
"X-Generator: Weblate 5.10.4\n"
1818

1919
#. module: web_quick_start_screen
20-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts
20+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts_demo
2121
msgid "<span>Browse <b>contacts</b></span>"
2222
msgstr "<span>Sfoglia<b>contatti</b></span>"
2323

2424
#. module: web_quick_start_screen
25-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions
25+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions_demo
2626
msgid "<span>Configure this <b>screen actions</b></span>"
2727
msgstr "<span>Configura queste <b>azioni schermata</b></span>"
2828

2929
#. module: web_quick_start_screen
30-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights
30+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights_demo
3131
msgid "<span>Explore <b>access rights</b></span>"
3232
msgstr "<span>Esplora <b>diritti di accesso</b></span>"
3333

3434
#. module: web_quick_start_screen
35-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights
35+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights_demo
3636
msgid "Access rights"
3737
msgstr "Diritti di accesso"
3838

@@ -89,12 +89,12 @@ msgid "Color"
8989
msgstr "Colore"
9090

9191
#. module: web_quick_start_screen
92-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions
92+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions_demo
9393
msgid "Configure screen actions"
9494
msgstr "Configura azioni schermata"
9595

9696
#. module: web_quick_start_screen
97-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts
97+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts_demo
9898
msgid "Contacts"
9999
msgstr "Contatti"
100100

web_quick_start_screen/i18n/web_quick_start_screen.pot

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 18.0\n"
7+
"Project-Id-Version: Odoo Server 19.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"Last-Translator: \n"
1010
"Language-Team: \n"
@@ -14,22 +14,22 @@ msgstr ""
1414
"Plural-Forms: \n"
1515

1616
#. module: web_quick_start_screen
17-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts
17+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_contacts_demo
1818
msgid "<span>Browse <b>contacts</b></span>"
1919
msgstr ""
2020

2121
#. module: web_quick_start_screen
22-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions
22+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_config_actions_demo
2323
msgid "<span>Configure this <b>screen actions</b></span>"
2424
msgstr ""
2525

2626
#. module: web_quick_start_screen
27-
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights
27+
#: model_terms:quick.start.screen.action,description:web_quick_start_screen.quick_start_screen_action_access_rights_demo
2828
msgid "<span>Explore <b>access rights</b></span>"
2929
msgstr ""
3030

3131
#. module: web_quick_start_screen
32-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights
32+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_access_rights_demo
3333
msgid "Access rights"
3434
msgstr ""
3535

@@ -80,12 +80,12 @@ msgid "Color"
8080
msgstr ""
8181

8282
#. module: web_quick_start_screen
83-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions
83+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_config_actions_demo
8484
msgid "Configure screen actions"
8585
msgstr ""
8686

8787
#. module: web_quick_start_screen
88-
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts
88+
#: model:quick.start.screen.action,name:web_quick_start_screen.quick_start_screen_action_contacts_demo
8989
msgid "Contacts"
9090
msgstr ""
9191

web_quick_start_screen/models/quick_start_screen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class QuicktStartScreen(models.Model):
1313
action_ids = fields.Many2many(comodel_name="quick.start.screen.action")
1414

1515
@api.model
16-
@tools.ormcache("frozenset(self.env.user.groups_id.ids)")
16+
@tools.ormcache("frozenset(self.env.user.group_ids.ids)")
1717
def _visible_action_ids(self):
1818
"""Inspired on how menus visibility work in core"""
19-
screen_actions = self.action_ids.search([]).sudo()
19+
screen_actions = self.action_ids.search([]).sudo() # pylint: disable=no-search-all
2020
visible = self.action_ids.browse()
2121
access = self.env["ir.model.access"]
2222
MODEL_BY_TYPE = {

web_quick_start_screen/models/quick_start_screen_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DecontracStartScreenAction(models.Model):
2727
required=True,
2828
)
2929
domain = fields.Char(
30-
help="Add extra domain if needed. You can use `ref('<xml_id>')` and it will be"
30+
help="Add extra domain if needed. You can use `ref('<xml_id>')` and it will be "
3131
"evaluated. You can also use `datetime` and `context_today` in the same way"
3232
"`ir.filters` do."
3333
)

web_quick_start_screen/security/security.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<odoo>
33
<record id="group_quick_start_screen" model="res.groups">
44
<field name="name">Quick Start Screen</field>
5-
<field name="category_id" ref="base.module_category_hidden" />
65
</record>
76
</odoo>

0 commit comments

Comments
 (0)