Nicolas Évrard pushed to branch branch/default at Tryton / Tryton
Commits:
c806e4e0 by Nicolas Évrard at 2023-02-01T17:54:26+01:00
Call set_modified on record in set_client
403bc7a95b0a introduced set_modified as a record method but not a field one.
It was unfortunately called on the field in set_client in the same commit..
Closes #12061
- - - - -
1 changed file:
- sao/src/model.js
Changes:
=====================================
sao/src/model.js
=====================================
@@ -1536,7 +1536,7 @@
this.changed(record);
record.validate(null, true, false, true);
} else if (force_change) {
- this.set_modified();
+ record.set_modified();
this.changed(record);
record.validate(null, true, false, true);
}
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/c806e4e039cb874404457ffc0a5a67c4bfe80c76
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/c806e4e039cb874404457ffc0a5a67c4bfe80c76
You're receiving this email because of your account on foss.heptapod.net.