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 CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Version 7.4.15 - 2025-08-01
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.4.14 - 2025-07-15
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.4.14',
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
@@ -2,7 +2,7 @@
2
2
  "name": "tryton-sao",
3
3
  "title": "sao",
4
4
  "description": "Tryton webclient",
5
- "version": "7.4.14",
5
+ "version": "7.4.15",
6
6
  "homepage": "https://www.tryton.org/",
7
7
  "author": {
8
8
  "name": "Tryton"
package/src/sao.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.4.14',
6
+ __version__: '7.4.15',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
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',