tryton-sao 7.6.6 → 7.6.7

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.6.7 - 2025-09-15
3
+ --------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.6.6 - 2025-09-03
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.6.6',
6
+ __version__: '7.6.7',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
@@ -18755,7 +18755,7 @@ function eval_pyson(value){
18755
18755
  this.screen.size_limit = size_limit;
18756
18756
  this.screen.display();
18757
18757
  if (this.attributes.height !== undefined) {
18758
- this.screen.current_view.el
18758
+ this.content
18759
18759
  .find('.treeview,.list-form').first()
18760
18760
  .css('min-height', this.attributes.height + 'px')
18761
18761
  .css('max-height', this.attributes.height + 'px');
@@ -19317,7 +19317,7 @@ function eval_pyson(value){
19317
19317
  }
19318
19318
  this.screen.display();
19319
19319
  if (this.attributes.height !== undefined) {
19320
- this.screen.current_view.el
19320
+ this.content
19321
19321
  .find('.treeview,.list-form').first()
19322
19322
  .css('min-height', this.attributes.height + 'px')
19323
19323
  .css('max-height', this.attributes.height + 'px');
@@ -27414,7 +27414,7 @@ function eval_pyson(value){
27414
27414
  }, this.session).then(count => {
27415
27415
  return Sao.common.message.run(
27416
27416
  Sao.i18n.ngettext('%1 record imported',
27417
- '%1 records imported', count));
27417
+ '%1 records imported', count, count));
27418
27418
  }).then(prm.resolve, prm.reject);
27419
27419
  }
27420
27420
  });
@@ -27985,7 +27985,7 @@ function eval_pyson(value){
27985
27985
  }
27986
27986
  this.info_bar.add(
27987
27987
  Sao.i18n.ngettext(
27988
- "%1 record saved", "%1 records saved", size), 'info');
27988
+ "%1 record saved", "%1 records saved", size, size), 'info');
27989
27989
  },
27990
27990
  set_url: function() {
27991
27991
  var path = [this.session.database, 'data', this.screen.model_name];
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.6.6",
5
+ "version": "7.6.7",
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.6.6',
6
+ __version__: '7.6.7',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
package/src/view/form.js CHANGED
@@ -3657,7 +3657,7 @@ function eval_pyson(value){
3657
3657
  this.screen.size_limit = size_limit;
3658
3658
  this.screen.display();
3659
3659
  if (this.attributes.height !== undefined) {
3660
- this.screen.current_view.el
3660
+ this.content
3661
3661
  .find('.treeview,.list-form').first()
3662
3662
  .css('min-height', this.attributes.height + 'px')
3663
3663
  .css('max-height', this.attributes.height + 'px');
@@ -4219,7 +4219,7 @@ function eval_pyson(value){
4219
4219
  }
4220
4220
  this.screen.display();
4221
4221
  if (this.attributes.height !== undefined) {
4222
- this.screen.current_view.el
4222
+ this.content
4223
4223
  .find('.treeview,.list-form').first()
4224
4224
  .css('min-height', this.attributes.height + 'px')
4225
4225
  .css('max-height', this.attributes.height + 'px');
package/src/window.js CHANGED
@@ -1791,7 +1791,7 @@
1791
1791
  }, this.session).then(count => {
1792
1792
  return Sao.common.message.run(
1793
1793
  Sao.i18n.ngettext('%1 record imported',
1794
- '%1 records imported', count));
1794
+ '%1 records imported', count, count));
1795
1795
  }).then(prm.resolve, prm.reject);
1796
1796
  }
1797
1797
  });
@@ -2362,7 +2362,7 @@
2362
2362
  }
2363
2363
  this.info_bar.add(
2364
2364
  Sao.i18n.ngettext(
2365
- "%1 record saved", "%1 records saved", size), 'info');
2365
+ "%1 record saved", "%1 records saved", size, size), 'info');
2366
2366
  },
2367
2367
  set_url: function() {
2368
2368
  var path = [this.session.database, 'data', this.screen.model_name];