tryton-sao 6.2.0 → 6.2.1
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/locale/hu_HU.json +0 -1
- package/locale/it_IT.json +0 -1
- package/locale/ja_JP.json +0 -1
- package/locale/pt_BR.json +0 -1
package/CHANGELOG
CHANGED
package/dist/tryton-sao.js
CHANGED
|
@@ -4852,7 +4852,7 @@ var Sao = {};
|
|
|
4852
4852
|
},
|
|
4853
4853
|
default_operator: function(field) {
|
|
4854
4854
|
if (~['char', 'text', 'many2one', 'many2many', 'one2many',
|
|
4855
|
-
'reference'].indexOf(field.type)) {
|
|
4855
|
+
'reference', 'one2one'].indexOf(field.type)) {
|
|
4856
4856
|
return 'ilike';
|
|
4857
4857
|
} else if (field.type == 'multiselection') {
|
|
4858
4858
|
return 'in';
|
|
@@ -22095,6 +22095,12 @@ function eval_pyson(value){
|
|
|
22095
22095
|
return;
|
|
22096
22096
|
}
|
|
22097
22097
|
button.el.prop('disabled', true); // state will be reset at display
|
|
22098
|
+
var row = this.view.rows.find(function(row) {
|
|
22099
|
+
return row.record == record;
|
|
22100
|
+
});
|
|
22101
|
+
if (row) {
|
|
22102
|
+
row._drawed_record = null; // force redraw the row
|
|
22103
|
+
}
|
|
22098
22104
|
this.view.screen.button(this.attributes);
|
|
22099
22105
|
}
|
|
22100
22106
|
});
|