changeset cc1ca047984c in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset;node=cc1ca047984c
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 5c2d10012907 -r cc1ca047984c 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
@@ -1991,7 +1991,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