AVecinal/avecinal#146 product_update_price_last_purchase: add stock fields to view

This commit is contained in:
Luis 2025-08-05 08:41:14 +02:00
parent 190d1f09c2
commit f4bc2ee66b

View file

@ -47,5 +47,17 @@
</field>
</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>
</odoo>