changeset db910083da5f in sao:5.4
details: https://hg.tryton.org/sao?cmd=changeset;node=db910083da5f
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 145f1a7253ca -r db910083da5f src/model.js
--- a/src/model.js      Wed Oct 28 00:02:52 2020 +0100
+++ b/src/model.js      Wed Oct 28 23:56:28 2020 +0100
@@ -2064,7 +2064,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