tryton-sao 7.2.13 → 7.2.14

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.2.14 - 2025-01-16
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.2.13 - 2025-01-01
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
package/COPYRIGHT CHANGED
@@ -1,7 +1,7 @@
1
1
  Copyright (C) 2012-2024 Nicolas Évrard.
2
- Copyright (C) 2012-2024 Cédric Krier.
2
+ Copyright (C) 2012-2025 Cédric Krier.
3
3
  Copyright (C) 2012-2014 Bertrand Chenal.
4
- Copyright (C) 2012-2024 B2CK SPRL.
4
+ Copyright (C) 2012-2025 B2CK SPRL.
5
5
  Copyright (C) 2019 Jitbit.
6
6
  Copyright (C) 2013 Thomas Park
7
7
  Copyright (C) 2020-2021 Maxime Richez
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.2.13',
6
+ __version__: '7.2.14',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
@@ -7659,7 +7659,7 @@ var Sao = {
7659
7659
  'use strict';
7660
7660
 
7661
7661
  function get_x2m_sub_fields(f_attrs, prefix) {
7662
- if (f_attrs.loading == 'eager' && f_attrs.views) {
7662
+ if (f_attrs.visible && f_attrs.views) {
7663
7663
  // There's only one key but we don't know its value
7664
7664
  const [[, view],] = Object.entries(f_attrs.views);
7665
7665
 
@@ -14914,8 +14914,8 @@ function eval_pyson(value){
14914
14914
  return;
14915
14915
  }
14916
14916
 
14917
- if (attributes.loading == 'eager') {
14918
- this.field_attrs[name].loading = 'eager';
14917
+ if (attributes.visible) {
14918
+ this.field_attrs[name].visible = true;
14919
14919
  }
14920
14920
 
14921
14921
  var WidgetFactory = Sao.View.FormXMLViewParser.WIDGETS[
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tryton-sao",
3
3
  "title": "sao",
4
4
  "description": "Tryton webclient",
5
- "version": "7.2.13",
5
+ "version": "7.2.14",
6
6
  "homepage": "http://www.tryton.org/",
7
7
  "author": {
8
8
  "name": "Tryton"
package/src/model.js CHANGED
@@ -4,7 +4,7 @@
4
4
  'use strict';
5
5
 
6
6
  function get_x2m_sub_fields(f_attrs, prefix) {
7
- if (f_attrs.loading == 'eager' && f_attrs.views) {
7
+ if (f_attrs.visible && f_attrs.views) {
8
8
  // There's only one key but we don't know its value
9
9
  const [[, view],] = Object.entries(f_attrs.views);
10
10
 
package/src/sao.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.2.13',
6
+ __version__: '7.2.14',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
package/src/view/form.js CHANGED
@@ -63,8 +63,8 @@ function eval_pyson(value){
63
63
  return;
64
64
  }
65
65
 
66
- if (attributes.loading == 'eager') {
67
- this.field_attrs[name].loading = 'eager';
66
+ if (attributes.visible) {
67
+ this.field_attrs[name].visible = true;
68
68
  }
69
69
 
70
70
  var WidgetFactory = Sao.View.FormXMLViewParser.WIDGETS[