tryton-sao 7.2.17 → 7.2.18

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.2.18 - 2025-04-02
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.2.17 - 2025-03-15
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -10456,6 +10456,9 @@ input.column-boolean {
10456
10456
  float: none;
10457
10457
  }
10458
10458
  @media screen and (max-width: 767px) {
10459
+ .form-dict-container {
10460
+ grid-template-columns: 100%;
10461
+ }
10459
10462
  .dict-row {
10460
10463
  grid-column: 1;
10461
10464
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.2.17',
6
+ __version__: '7.2.18',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
@@ -20427,8 +20427,7 @@ function eval_pyson(value){
20427
20427
  return this._parse(this.format, this.input.val());
20428
20428
  },
20429
20429
  set_value: function(value) {
20430
- if ((value instanceof Sao.DateTime) ||
20431
- (value instanceof Sao.Date)) {
20430
+ if (value && (value.isDate || value.isDateTime)) {
20432
20431
  value = this._format(this.format, value);
20433
20432
  } else {
20434
20433
  value = '';
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.2.17",
5
+ "version": "7.2.18",
6
6
  "homepage": "http://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.2.17',
6
+ __version__: '7.2.18',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
package/src/sao.less CHANGED
@@ -1098,6 +1098,9 @@ input.column-boolean {
1098
1098
  }
1099
1099
 
1100
1100
  @media screen and (max-width: @screen-xs-max) {
1101
+ .form-dict-container {
1102
+ grid-template-columns: 100%;
1103
+ }
1101
1104
  .dict-row {
1102
1105
  grid-column: 1;
1103
1106
  }
package/src/view/form.js CHANGED
@@ -5568,8 +5568,7 @@ function eval_pyson(value){
5568
5568
  return this._parse(this.format, this.input.val());
5569
5569
  },
5570
5570
  set_value: function(value) {
5571
- if ((value instanceof Sao.DateTime) ||
5572
- (value instanceof Sao.Date)) {
5571
+ if (value && (value.isDate || value.isDateTime)) {
5573
5572
  value = this._format(this.format, value);
5574
5573
  } else {
5575
5574
  value = '';