tryton-sao 6.0.9 → 6.0.10
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 -1
- package/dist/tryton-sao.min.js +2 -2
- package/package.json +1 -1
- package/src/common.js +1 -1
- package/src/view/tree.js +6 -0
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -4833,7 +4833,7 @@ var Sao = {};
|
|
|
4833
4833
|
},
|
|
4834
4834
|
default_operator: function(field) {
|
|
4835
4835
|
if (~['char', 'text', 'many2one', 'many2many', 'one2many',
|
|
4836
|
-
'reference'].indexOf(field.type)) {
|
|
4836
|
+
'reference', 'one2one'].indexOf(field.type)) {
|
|
4837
4837
|
return 'ilike';
|
|
4838
4838
|
} else if (field.type == 'multiselection') {
|
|
4839
4839
|
return 'in';
|
|
@@ -21785,6 +21785,12 @@ function eval_pyson(value){
|
|
|
21785
21785
|
return;
|
|
21786
21786
|
}
|
|
21787
21787
|
button.el.prop('disabled', true); // state will be reset at display
|
|
21788
|
+
var row = this.view.rows.find(function(row) {
|
|
21789
|
+
return row.record == record;
|
|
21790
|
+
});
|
|
21791
|
+
if (row) {
|
|
21792
|
+
row._drawed_record = null; // force redraw the row
|
|
21793
|
+
}
|
|
21788
21794
|
this.view.screen.button(this.attributes);
|
|
21789
21795
|
}
|
|
21790
21796
|
});
|