tryton-sao 7.4.14 → 7.4.15
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 +4 -3
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/window.js +3 -2
package/CHANGELOG
CHANGED
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.15',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -26570,7 +26570,8 @@ function eval_pyson(value){
|
|
|
26570
26570
|
},
|
|
26571
26571
|
_get_fields: function(model) {
|
|
26572
26572
|
return Sao.rpc({
|
|
26573
|
-
'method': 'model.' + model + '.fields_get'
|
|
26573
|
+
'method': 'model.' + model + '.fields_get',
|
|
26574
|
+
'params': [this.screen.context],
|
|
26574
26575
|
}, this.session, false);
|
|
26575
26576
|
},
|
|
26576
26577
|
on_row_expanded: function(node) {
|
|
@@ -26929,7 +26930,7 @@ function eval_pyson(value){
|
|
|
26929
26930
|
Sao.rpc({
|
|
26930
26931
|
'method': 'model.' + this.screen.model_name +
|
|
26931
26932
|
'.import_data',
|
|
26932
|
-
'params': [fields, data,
|
|
26933
|
+
'params': [fields, data, this.screen.context]
|
|
26933
26934
|
}, this.session).then(count => {
|
|
26934
26935
|
return Sao.common.message.run(
|
|
26935
26936
|
Sao.i18n.ngettext('%1 record imported',
|
package/package.json
CHANGED
package/src/sao.js
CHANGED
package/src/window.js
CHANGED
|
@@ -1375,7 +1375,8 @@
|
|
|
1375
1375
|
},
|
|
1376
1376
|
_get_fields: function(model) {
|
|
1377
1377
|
return Sao.rpc({
|
|
1378
|
-
'method': 'model.' + model + '.fields_get'
|
|
1378
|
+
'method': 'model.' + model + '.fields_get',
|
|
1379
|
+
'params': [this.screen.context],
|
|
1379
1380
|
}, this.session, false);
|
|
1380
1381
|
},
|
|
1381
1382
|
on_row_expanded: function(node) {
|
|
@@ -1734,7 +1735,7 @@
|
|
|
1734
1735
|
Sao.rpc({
|
|
1735
1736
|
'method': 'model.' + this.screen.model_name +
|
|
1736
1737
|
'.import_data',
|
|
1737
|
-
'params': [fields, data,
|
|
1738
|
+
'params': [fields, data, this.screen.context]
|
|
1738
1739
|
}, this.session).then(count => {
|
|
1739
1740
|
return Sao.common.message.run(
|
|
1740
1741
|
Sao.i18n.ngettext('%1 record imported',
|