add stock_inventory_product_exhausted: prevent for removing zero quantity stock quants. Add exhausted products to inventory adjustments

This commit is contained in:
Luis 2025-10-01 13:27:34 +02:00
parent e4050a6e31
commit 17cc64c522
15 changed files with 565 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<odoo>
<record id="view_stock_inventory_form_exhausted" model="ir.ui.view">
<field name="name">stock.inventory.form.exhausted</field>
<field name="model">stock.inventory</field>
<field name="inherit_id" ref="stock_inventory.view_inventory_group_form"/>
<field name="arch" type="xml">
<field name="exclude_sublocation" position="after">
<field name="include_exhausted_products"/>
</field>
</field>
</record>
</odoo>