tryton-sao 5.0.51 → 5.0.52
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 +3 -0
- package/dist/tryton-sao.js +3 -5
- package/dist/tryton-sao.min.js +3 -3
- package/package.json +1 -1
- package/src/common.js +1 -1
- package/src/model.js +2 -4
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -4384,10 +4384,8 @@ var Sao = {};
|
|
|
4384
4384
|
value = null;
|
|
4385
4385
|
}
|
|
4386
4386
|
} else if (value.isDate) {
|
|
4387
|
-
current_value = this.get(record);
|
|
4388
|
-
|
|
4389
|
-
value = Sao.DateTime.combine(value, current_value);
|
|
4390
|
-
}
|
|
4387
|
+
current_value = this.get(record) || Sao.Time();
|
|
4388
|
+
value = Sao.DateTime.combine(value, current_value);
|
|
4391
4389
|
}
|
|
4392
4390
|
}
|
|
4393
4391
|
Sao.field.DateTime._super.set_client.call(this, record, value,
|
|
@@ -16607,7 +16605,7 @@ function eval_pyson(value){
|
|
|
16607
16605
|
};
|
|
16608
16606
|
|
|
16609
16607
|
Sao.common.parse_time = function(format, value) {
|
|
16610
|
-
if (
|
|
16608
|
+
if (!value) {
|
|
16611
16609
|
return null;
|
|
16612
16610
|
}
|
|
16613
16611
|
var getNumber = function(pattern) {
|