changeset e62a415e9559 in modules/stock_supply_production:default
details:
https://hg.tryton.org/modules/stock_supply_production?cmd=changeset&node=e62a415e9559
description:
Send only the required fields when fetching a readonly view definition
issue11134
review380081002
diffstat:
stock.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 6edaaba16b00 -r e62a415e9559 stock.py
--- a/stock.py Thu Apr 07 00:06:34 2022 +0200
+++ b/stock.py Fri Apr 08 19:07:14 2022 +0200
@@ -22,8 +22,6 @@
('producible', '=', True),
()),
]
- if 'type' not in cls.product.depends:
- cls.product.depends.append('type')
cls.warehouse_location.states['invisible'] &= (
Eval('type') != 'production')