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 CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Version 6.6.11 - 2023-11-03
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 6.6.10 - 2023-10-04
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -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.10',
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 in this.record_removed) {
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 in this.record_deleted) {
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.model.fields.hasOwnProperty(key) && this.id >= 0)
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
  }