tryton-sao 6.6.10 → 6.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +5 -0
- package/dist/tryton-sao.js +4 -4
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/model.js +3 -3
- package/src/sao.js +1 -1
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
2
2
|
this repository contains the full copyright notices and license terms. */
|
|
3
3
|
var Sao = {
|
|
4
|
-
__version__: '6.6.
|
|
4
|
+
__version__: '6.6.11',
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
(function() {
|
|
@@ -7553,13 +7553,13 @@ var Sao = {
|
|
|
7553
7553
|
if (this.indexOf(record) < 0) {
|
|
7554
7554
|
this.splice(position, 0, record);
|
|
7555
7555
|
}
|
|
7556
|
-
for (var record_rm
|
|
7556
|
+
for (var record_rm of this.record_removed) {
|
|
7557
7557
|
if (record_rm.id == record.id) {
|
|
7558
7558
|
this.record_removed.splice(
|
|
7559
7559
|
this.record_removed.indexOf(record_rm), 1);
|
|
7560
7560
|
}
|
|
7561
7561
|
}
|
|
7562
|
-
for (var record_del
|
|
7562
|
+
for (var record_del of this.record_deleted) {
|
|
7563
7563
|
if (record_del.id == record.id) {
|
|
7564
7564
|
this.record_deleted.splice(
|
|
7565
7565
|
this.record_deleted.indexOf(record_del), 1);
|
|
@@ -8412,7 +8412,7 @@ var Sao = {
|
|
|
8412
8412
|
get_eval: function() {
|
|
8413
8413
|
var value = {};
|
|
8414
8414
|
for (var key in this.model.fields) {
|
|
8415
|
-
if (!this.
|
|
8415
|
+
if (!this._loaded.hasOwnProperty(key) && this.id >= 0)
|
|
8416
8416
|
continue;
|
|
8417
8417
|
value[key] = this.model.fields[key].get_eval(this);
|
|
8418
8418
|
}
|