AVecinal/avecinal#146 product_update_price_last_purchase: add stock fields to view
This commit is contained in:
parent
190d1f09c2
commit
f4bc2ee66b
1 changed files with 12 additions and 0 deletions
|
|
@ -47,5 +47,17 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="product_product_tree_view_inherit_margin_classification" model="ir.ui.view">
|
||||||
|
<field name="name">product.product.tree.inherit.margin.classification</field>
|
||||||
|
<field name="model">product.product</field>
|
||||||
|
<field name="inherit_id" ref="product_margin_classification.view_product_product_tree" />
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="name" position="after">
|
||||||
|
<field name="qty_available" readonly="1" optional="show"/>
|
||||||
|
<field name="virtual_available" readonly="1" optional="hide"/>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue