summaryrefslogtreecommitdiff
path: root/addons/product_margin
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-07-16 09:49:10 +0000
committerXavier Morel <xmo@odoo.com>2020-07-28 13:03:13 +0000
commit6835aeb0de6895f7f4d6b23e0b4654465ef21d6a (patch)
treea01960df831f7f6fee07b99851dfc49a0978b222 /addons/product_margin
parent96a3265118df686a0175b240c9636cfd2b53a492 (diff)
[REM] core, *: deprecate <act_window> and <report>
Convert deprecated tags through the codebase.
Diffstat (limited to 'addons/product_margin')
-rw-r--r--addons/product_margin/wizard/product_margin_view.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/addons/product_margin/wizard/product_margin_view.xml b/addons/product_margin/wizard/product_margin_view.xml
index b50440227ff..caed7927df9 100644
--- a/addons/product_margin/wizard/product_margin_view.xml
+++ b/addons/product_margin/wizard/product_margin_view.xml
@@ -18,10 +18,11 @@
</field>
</record>
- <act_window name="Product Margins"
- res_model="product.margin"
- view_mode="form"
- target="new"
- id="product_margin_act_window"/>
+ <record id="product_margin_act_window" model="ir.actions.act_window">
+ <field name="name">Product Margins</field>
+ <field name="res_model">product.margin</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+ </record>
</odoo>