tryton-sao 6.0.55 → 6.0.57

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,14 @@
1
1
 
2
+ Version 6.0.57 - 2025-04-02
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
7
+ Version 6.0.56 - 2025-03-15
8
+ ---------------------------
9
+ * Bug fixes (see mercurial logs for details)
10
+
11
+
2
12
  Version 6.0.55 - 2025-03-04
3
13
  ---------------------------
4
14
  * Bug fixes (see mercurial logs for details)
package/COPYRIGHT CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2012-2024 Nicolas Évrard.
1
+ Copyright (C) 2012-2025 Nicolas Évrard.
2
2
  Copyright (C) 2012-2025 Cédric Krier.
3
3
  Copyright (C) 2012-2014 Bertrand Chenal.
4
4
  Copyright (C) 2012-2025 B2CK SPRL.
@@ -1308,7 +1308,9 @@ var Sao = {};
1308
1308
  }
1309
1309
  } else {
1310
1310
  Sao.common.error.run(data.error[0], data.error[1])
1311
- .always(dfd.reject);
1311
+ .always(function() {
1312
+ dfd.reject(data.error);
1313
+ });
1312
1314
  }
1313
1315
  } else {
1314
1316
  result = data.result;
@@ -19229,8 +19231,7 @@ function eval_pyson(value){
19229
19231
  return this._parse(this.format, this.input.val());
19230
19232
  },
19231
19233
  set_value: function(value) {
19232
- if ((value instanceof Sao.DateTime) ||
19233
- (value instanceof Sao.Date)) {
19234
+ if (value && (value.isDate || value.isDateTime)) {
19234
19235
  value = this._format(this.format, value);
19235
19236
  } else {
19236
19237
  value = '';
@@ -25825,7 +25826,10 @@ function eval_pyson(value){
25825
25826
  }
25826
25827
  this.__processing = false;
25827
25828
  }.bind(this), function(result) {
25828
- // TODO end for server error.
25829
+ if (!result || !this.screen) {
25830
+ this.state = this.end_state;
25831
+ this.end();
25832
+ }
25829
25833
  this.__processing = false;
25830
25834
  }.bind(this));
25831
25835
  };