tryton-sao 7.0.5 → 7.0.6

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 7.0.6 - 2024-02-03
3
+ --------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.0.5 - 2024-01-15
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__: '7.0.5',
4
+ __version__: '7.0.6',
5
5
  };
6
6
 
7
7
  (function() {
@@ -21393,7 +21393,11 @@ function eval_pyson(value){
21393
21393
  if (!row || !this.children_field) {
21394
21394
  return this.rows.length;
21395
21395
  }
21396
- return row.record._values[this.children_field].length;
21396
+ if (row.record.is_loaded(this.children_field)) {
21397
+ return row.record.field_get_client(this.children_field).length;
21398
+ } else {
21399
+ return 0;
21400
+ }
21397
21401
  },
21398
21402
  set_cursor: function(new_, reset_view) {
21399
21403
  var i, root_group, path, row_path, row, column;