changeset 0eb578a763c1 in modules/stock_assign_manual:default
details:
https://hg.tryton.org/modules/stock_assign_manual?cmd=changeset&node=0eb578a763c1
description:
Send only the required fields when fetching a readonly view definition
issue11134
review380081002
diffstat:
stock.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r b21ee7b8b1f9 -r 0eb578a763c1 stock.py
--- a/stock.py Wed Apr 06 23:37:44 2022 +0200
+++ b/stock.py Fri Apr 08 19:07:14 2022 +0200
@@ -180,7 +180,6 @@
('quantity', '<=', Eval('move_quantity', 0)),
],
],
- depends=['move_quantity'],
help="The maximum quantity to assign from the place.\n"
"Leave empty for the full quantity of the move.")
unit = fields.Many2One('product.uom', "Unit", readonly=True)
@@ -369,7 +368,6 @@
('unassigned_quantity', '<=', Eval('move_quantity', 0)),
],
],
- depends=['move_quantity'],
help="The quantity to unassign")
assigned_quantity = fields.Float(
"Assigned Quantity", digits='unit',
@@ -380,7 +378,6 @@
('assigned_quantity', '<=', Eval('move_quantity', 0)),
],
],
- depends=['move_quantity'],
help="The quantity left assigned")
unit = fields.Function(
fields.Many2One('product.uom', "Unit"), 'on_change_with_unit')
@@ -427,7 +424,6 @@
moves = fields.One2Many(
'stock.shipment.assigned.move', None, "Moves",
domain=[('move.id', 'in', Eval('assigned_moves'))],
- depends=['assigned_moves'],
help="The moves to unassign.")
assigned_moves = fields.Many2Many(
'stock.move', None, None, "Assigned Moves")