changeset c69914d7eef7 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=c69914d7eef7
description:
Mark as modified when default is a list of ids
Otherwise they are not sent to the server because only modified record
are
sent since issue6754.
issue9479
review308441002
diffstat:
tryton/gui/window/view_form/model/field.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0110eb3f3ddd -r c69914d7eef7 tryton/gui/window/view_form/model/field.py
--- a/tryton/gui/window/view_form/model/field.py Wed Oct 28 00:02:52
2020 +0100
+++ b/tryton/gui/window/view_form/model/field.py Wed Oct 28 23:56:28
2020 +0100
@@ -684,7 +684,7 @@
for old_record in group:
if old_record.id not in value:
group.remove(old_record, remove=True, signal=False)
- group.load(value, modified=modified)
+ group.load(value, modified=modified or default)
else:
for vals in value:
new_record = record.value[self.name].new(default=False)