[Fix] use the same view id for differnt view using in product and product template

This commit is contained in:
Tony Gu
2019-10-16 21:31:21 +08:00
committed by ps-tubtim
parent 2784e2d25e
commit fa0e995fdd
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
</xpath>
</field>
</record>
<record model="ir.ui.view" id="view_stock_available_tree">
<record model="ir.ui.view" id="view_stock_available_product_tree">
<field name="name">Quantity available to promise (variant tree)</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="stock.view_stock_product_tree"/>

View File

@@ -36,7 +36,7 @@
</xpath>
</field>
</record>
<record model="ir.ui.view" id="view_stock_available_tree">
<record model="ir.ui.view" id="view_stock_available_product_template_tree">
<field name="name">Quantity available to promise (tree)</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="stock.view_stock_product_template_tree"/>