changeset 0f147b82e4d8 in sao:5.6
details: https://hg.tryton.org/sao?cmd=changeset;node=0f147b82e4d8
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
        (grafted from d9aa3bd8c128c424db9a2a9553826b488f43d685)
diffstat:

 src/model.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bbb75b900b27 -r 0f147b82e4d8 src/model.js
--- a/src/model.js      Sun Oct 25 11:03:29 2020 +0100
+++ b/src/model.js      Wed Oct 28 23:56:28 2020 +0100
@@ -2068,7 +2068,7 @@
                         group.remove(old_record, true, true, false, false);
                     }
                 }
-                group.load(value, modified);
+                group.load(value, modified || default_);
             } else {
                 value.forEach(function(vals) {
                     var new_record = group.new_(false);

Reply via email to