tryton-sao 6.2.7 → 6.2.8
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 +7 -8
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/common.js +1 -1
- package/src/model.js +6 -7
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -3179,7 +3179,7 @@ var Sao = {};
|
|
|
3179
3179
|
};
|
|
3180
3180
|
|
|
3181
3181
|
Sao.common.parse_time = function(format, value) {
|
|
3182
|
-
if (
|
|
3182
|
+
if (!value) {
|
|
3183
3183
|
return null;
|
|
3184
3184
|
}
|
|
3185
3185
|
var getNumber = function(pattern) {
|
|
@@ -8138,10 +8138,11 @@ var Sao = {};
|
|
|
8138
8138
|
this.on_change_with(fieldnames);
|
|
8139
8139
|
var callback = function() {
|
|
8140
8140
|
if (display) {
|
|
8141
|
-
return
|
|
8142
|
-
.
|
|
8141
|
+
return jQuery.when.apply(
|
|
8142
|
+
jQuery, this.group.root_group.screens
|
|
8143
|
+
.map(function(screen) {
|
|
8143
8144
|
return screen.display();
|
|
8144
|
-
});
|
|
8145
|
+
}));
|
|
8145
8146
|
}
|
|
8146
8147
|
}.bind(this);
|
|
8147
8148
|
if (validate) {
|
|
@@ -8942,10 +8943,8 @@ var Sao = {};
|
|
|
8942
8943
|
value = null;
|
|
8943
8944
|
}
|
|
8944
8945
|
} else if (value.isDate) {
|
|
8945
|
-
current_value = this.get(record);
|
|
8946
|
-
|
|
8947
|
-
value = Sao.DateTime.combine(value, current_value);
|
|
8948
|
-
}
|
|
8946
|
+
current_value = this.get(record) || Sao.Time();
|
|
8947
|
+
value = Sao.DateTime.combine(value, current_value);
|
|
8949
8948
|
}
|
|
8950
8949
|
}
|
|
8951
8950
|
Sao.field.DateTime._super.set_client.call(this, record, value,
|