Skip to content

Commit 56e8356

Browse files
[MIG] product_standard_margin: Migration to 17.0
[MIG] product_standard_margin: Migration to 17.0
1 parent 531da82 commit 56e8356

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

product_standard_margin/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Contributors
8888
- Joël Grand-Guillaume <joel.grand-guillaume@camptocamp.com>
8989
- Sylvain Le Gal (https://twitter.com/legalsylvain)
9090
- Cyril Vinh-Tung <cyril@invitu.com>
91+
- Christian Doñate <https://tesseratech.es>
9192

9293
Maintainers
9394
-----------

product_standard_margin/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
66
{
77
"name": "Product Margin and Margin Rate",
8-
"version": "16.0.1.0.3",
8+
"version": "17.0.1.0.0",
99
"author": "Camptocamp,GRAP,Odoo Community Association (OCA)",
1010
"category": "Product",
1111
"depends": ["account"],

product_standard_margin/readme/CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
- Joël Grand-Guillaume \<<joel.grand-guillaume@camptocamp.com>\>
44
- Sylvain Le Gal (<https://twitter.com/legalsylvain>)
55
- Cyril Vinh-Tung \<<cyril@invitu.com>\>
6+
- Christian Doñate \<<https://tesseratech.es>\>

product_standard_margin/static/description/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
430430
<li>Joël Grand-Guillaume &lt;<a class="reference external" href="mailto:joel.grand-guillaume&#64;camptocamp.com">joel.grand-guillaume&#64;camptocamp.com</a>&gt;</li>
431431
<li>Sylvain Le Gal (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li>
432432
<li>Cyril Vinh-Tung &lt;<a class="reference external" href="mailto:cyril&#64;invitu.com">cyril&#64;invitu.com</a>&gt;</li>
433+
<li>Christian Doñate &lt;<a class="reference external" href="https://tesseratech.es">https://tesseratech.es</a>&gt;</li>
433434
</ul>
434435
</div>
435436
<div class="section" id="maintainers">

product_standard_margin/views/view_product_template.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<field
1313
name="standard_margin"
1414
widget="monetary"
15-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
15+
invisible="product_variant_count > 1"
1616
/>
1717
<field
1818
name="standard_margin_rate"
19-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
19+
invisible="product_variant_count > 1"
2020
/>
2121
<field
2222
name="standard_markup_rate"
23-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
23+
invisible="product_variant_count > 1"
2424
/>
2525
</xpath>
2626
</field>
@@ -33,17 +33,17 @@
3333
<field
3434
name="standard_margin"
3535
widget="monetary"
36-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
36+
invisible="product_variant_count > 1"
3737
optional="hide"
3838
/>
3939
<field
4040
name="standard_margin_rate"
41-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
41+
invisible="product_variant_count > 1"
4242
optional="hide"
4343
/>
4444
<field
4545
name="standard_markup_rate"
46-
attrs="{'invisible': [('product_variant_count', '>', 1)]}"
46+
invisible="product_variant_count > 1"
4747
optional="hide"
4848
/>
4949
</xpath>

0 commit comments

Comments
 (0)