[FIX] stock : Services,consumable excluded in 'Exhausted Stock' filter.
Because.
This commit is contained in:
committed by
Yannick Tivisse
parent
c3ff15b147
commit
3b51444f85
@@ -88,7 +88,7 @@
|
||||
<field name="warehouse_id" widget="selection" context="{'warehouse': self}"/>
|
||||
<separator/>
|
||||
<filter name="real_stock_available" string="Available Products" domain="[('qty_available','>',0)]"/>
|
||||
<filter name="real_stock_exhausted" string="Exhausted Stock" domain="[('qty_available','<=',0)]"/>
|
||||
<filter name="real_stock_exhausted" string="Exhausted Stock" domain="[('qty_available','<=',0),('type','not in',('service', 'consu'))]"/>
|
||||
<filter name="real_stock_negative" string="Negative Stock" domain="[('qty_available','<',0)]"/>
|
||||
</field>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user