tryton-sao 7.0.33 → 7.0.34
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/dist/tryton-sao.min.js +2 -2
- 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.0.
|
|
6
|
+
__version__: '7.0.34',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -26083,7 +26083,8 @@ function eval_pyson(value){
|
|
|
26083
26083
|
},
|
|
26084
26084
|
_get_fields: function(model) {
|
|
26085
26085
|
return Sao.rpc({
|
|
26086
|
-
'method': 'model.' + model + '.fields_get'
|
|
26086
|
+
'method': 'model.' + model + '.fields_get',
|
|
26087
|
+
'params': [this.screen.context],
|
|
26087
26088
|
}, this.session, false);
|
|
26088
26089
|
},
|
|
26089
26090
|
on_row_expanded: function(node) {
|
|
@@ -26406,7 +26407,7 @@ function eval_pyson(value){
|
|
|
26406
26407
|
Sao.rpc({
|
|
26407
26408
|
'method': 'model.' + this.screen.model_name +
|
|
26408
26409
|
'.import_data',
|
|
26409
|
-
'params': [fields, data,
|
|
26410
|
+
'params': [fields, data, this.screen.context]
|
|
26410
26411
|
}, this.session).then(count => {
|
|
26411
26412
|
return Sao.common.message.run(
|
|
26412
26413
|
Sao.i18n.ngettext('%1 record imported',
|