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 +5 -0
- package/dist/tryton-sao.js +6 -2
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/view/tree.js +5 -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__: '7.0.
|
|
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
|
-
|
|
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;
|