tryton-sao 7.4.3 → 7.4.4
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.4.
|
|
6
|
+
__version__: '7.4.4',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -7703,7 +7703,7 @@ var Sao = {
|
|
|
7703
7703
|
'use strict';
|
|
7704
7704
|
|
|
7705
7705
|
function get_x2m_sub_fields(f_attrs, prefix) {
|
|
7706
|
-
if (f_attrs.
|
|
7706
|
+
if (f_attrs.visible && f_attrs.views) {
|
|
7707
7707
|
// There's only one key but we don't know its value
|
|
7708
7708
|
const [[, view],] = Object.entries(f_attrs.views);
|
|
7709
7709
|
|
|
@@ -14942,8 +14942,8 @@ function eval_pyson(value){
|
|
|
14942
14942
|
return;
|
|
14943
14943
|
}
|
|
14944
14944
|
|
|
14945
|
-
if (attributes.
|
|
14946
|
-
this.field_attrs[name].
|
|
14945
|
+
if (attributes.visible) {
|
|
14946
|
+
this.field_attrs[name].visible = true;
|
|
14947
14947
|
}
|
|
14948
14948
|
|
|
14949
14949
|
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[
|