changeset e90e00d8be9b in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=e90e00d8be9b
description:
Show locations with any of quantity or forecast different of zero
issue8679
review282191002
diffstat:
product.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6e522da3964b -r e90e00d8be9b product.xml
--- a/product.xml Sat Sep 28 23:59:10 2019 +0200
+++ b/product.xml Tue Oct 01 22:52:18 2019 +0200
@@ -81,7 +81,7 @@
<record model="ir.action.act_window" id="act_location_quantity_list">
<field name="name">Locations List Quantity</field>
<field name="res_model">stock.location</field>
- <field name="search_value" eval="[('quantity', '!=', 0),
('forecast_quantity', '!=', 0)]" pyson="1"/>
+ <field name="search_value" eval="['OR', ('quantity', '!=', 0),
('forecast_quantity', '!=', 0)]" pyson="1"/>
<field name="context" pyson="1"
eval="If(Eval('active_model') == 'product.template',
{'product_template': Eval('active_id'), 'with_childs': False}, {'product':
Eval('active_id'), 'with_childs': False})"/>
<field name="context_model">product.by_location.context</field>