changeset c50097fc4f1f in modules/stock_quantity_issue:default
details:
https://hg.tryton.org/modules/stock_quantity_issue?cmd=changeset&node=c50097fc4f1f
description:
Send only the required fields when fetching a readonly view definition
issue11134
review380081002
diffstat:
stock.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r c64e3cc86850 -r c50097fc4f1f stock.py
--- a/stock.py Wed Apr 06 23:37:44 2022 +0200
+++ b/stock.py Fri Apr 08 19:07:14 2022 +0200
@@ -36,8 +36,7 @@
'stock.shipment.internal': [
('company', '=', Eval('company', -1)),
],
- },
- depends=['company'])
+ })
planned_date = fields.Function(
fields.Date("Planned Date"),
'on_change_with_planned_date')
@@ -60,7 +59,7 @@
'stock_skip_warehouse': False,
'stock_date_end': Eval('planned_date'),
},
- depends=['company', 'warehouse', 'planned_date'])
+ depends={'company', 'warehouse', 'planned_date'})
processed_by = employee_field("Processed by", states=['processing'])
solved_by = employee_field("Solved by", states=['solved'])