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 +5 -0
- package/COPYRIGHT +2 -2
- package/dist/tryton-sao.js +4 -4
- package/package.json +1 -1
- package/src/model.js +1 -1
- package/src/sao.js +1 -1
- package/src/view/form.js +2 -2
package/CHANGELOG
CHANGED
package/COPYRIGHT
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Copyright (C) 2012-2024 Nicolas Évrard.
|
|
2
|
-
Copyright (C) 2012-
|
|
2
|
+
Copyright (C) 2012-2025 Cédric Krier.
|
|
3
3
|
Copyright (C) 2012-2014 Bertrand Chenal.
|
|
4
|
-
Copyright (C) 2012-
|
|
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
|
package/dist/tryton-sao.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-redeclare */
|
|
5
5
|
var Sao = {
|
|
6
|
-
__version__: '7.2.
|
|
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.
|
|
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.
|
|
14918
|
-
this.field_attrs[name].
|
|
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
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.
|
|
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
package/src/view/form.js
CHANGED
|
@@ -63,8 +63,8 @@ function eval_pyson(value){
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
if (attributes.
|
|
67
|
-
this.field_attrs[name].
|
|
66
|
+
if (attributes.visible) {
|
|
67
|
+
this.field_attrs[name].visible = true;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
var WidgetFactory = Sao.View.FormXMLViewParser.WIDGETS[
|