changeset d9aa3bd8c128 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=d9aa3bd8c128
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:

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

diffs (12 lines):

diff -r c1ce7d0bb57f -r d9aa3bd8c128 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
@@ -2119,7 +2119,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