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 +5 -0
- package/dist/tryton-sao.css +3 -0
- package/dist/tryton-sao.js +2 -3
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/sao.less +3 -0
- package/src/view/form.js +1 -2
package/CHANGELOG
CHANGED
package/dist/tryton-sao.css
CHANGED
|
@@ -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
|
}
|
package/dist/tryton-sao.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-redeclare */
|
|
5
5
|
var Sao = {
|
|
6
|
-
__version__: '7.2.
|
|
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
|
|
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
package/src/sao.js
CHANGED
package/src/sao.less
CHANGED
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
|
|
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 = '';
|