Version: 10 Community
module: stock_account
model: stock.history (report)
How can I have filter for showing only positive values?
Tried:
<filter name="positive" string="Positive" domain="[('inventory_value', '>', 0.0)]"/>
but inventory_value is calculated field and cannot use it in filter
<filter name="positive" string="Positive" domain="[('quantity', '>', 0.0)]"/>
is wrong because it needs to be the SUM of quantity > 0
Give store=True for the field and see