Skip to content

Commit f8d5511

Browse files
committed
[MIG] base_global_discount: Migration to 18.0
1 parent c3408c6 commit f8d5511

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

base_global_discount/README.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Base Global Discount
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github
20-
:target: https://github.com/OCA/server-backend/tree/17.0/base_global_discount
20+
:target: https://github.com/OCA/server-backend/tree/18.0/base_global_discount
2121
:alt: OCA/server-backend
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/server-backend-17-0/server-backend-17-0-base_global_discount
23+
:target: https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_global_discount
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-backend&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -65,7 +65,7 @@ Bug Tracker
6565
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-backend/issues>`_.
6666
In case of trouble, please check there if your issue has already been reported.
6767
If you spotted it first, help us to smash it by providing a detailed and welcomed
68-
`feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20base_global_discount%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
68+
`feedback <https://github.com/OCA/server-backend/issues/new?body=module:%20base_global_discount%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6969

7070
Do not contact contributors directly about support or help with technical issues.
7171

@@ -80,15 +80,15 @@ Authors
8080
Contributors
8181
------------
8282

83-
- `Tecnativa <https://www.tecnativa.com>`__
83+
- `Tecnativa <https://www.tecnativa.com>`__
8484

85-
- Pedro M. Baeza
86-
- David Vidal
87-
- Carlos Dauden
88-
- Rafael Blasco
89-
- Ernesto Tejeda
85+
- Pedro M. Baeza
86+
- David Vidal
87+
- Carlos Dauden
88+
- Rafael Blasco
89+
- Ernesto Tejeda
9090

91-
- Omar Castiñeira <[email protected]>
91+
- Omar Castiñeira <[email protected]>
9292

9393
Maintainers
9494
-----------
@@ -103,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
103103
mission is to support the collaborative development of Odoo features and
104104
promote its widespread use.
105105

106-
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/17.0/base_global_discount>`_ project on GitHub.
106+
This module is part of the `OCA/server-backend <https://github.com/OCA/server-backend/tree/18.0/base_global_discount>`_ project on GitHub.
107107

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

base_global_discount/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
44
{
55
"name": "Base Global Discount",
6-
"version": "17.0.1.0.0",
6+
"version": "18.0.1.0.0",
77
"category": "Base",
88
"author": "Tecnativa, Odoo Community Association (OCA)",
99
"website": "https://github.com/OCA/server-backend",

base_global_discount/views/global_discount_views.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<record id="global_discount_view_tree" model="ir.ui.view">
66
<field name="model">global.discount</field>
77
<field name="arch" type="xml">
8-
<tree editable="bottom">
8+
<list editable="bottom">
99
<field name="sequence" widget="handle" />
1010
<field name="name" />
1111
<field name="discount" />
1212
<field name="discount_scope" />
1313
<field name="company_id" />
14-
</tree>
14+
</list>
1515
</field>
1616
</record>
1717
<record id="global_discount_view_form" model="ir.ui.view">
@@ -34,7 +34,7 @@
3434
<field name="name">Global Discounts</field>
3535
<field name="type">ir.actions.act_window</field>
3636
<field name="res_model">global.discount</field>
37-
<field name="view_mode">tree,form</field>
37+
<field name="view_mode">list,form</field>
3838
</record>
3939
<menuitem
4040
id="menu_global_discount"

0 commit comments

Comments
 (0)