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 CHANGED
@@ -1,3 +1,6 @@
1
+ Version 6.2.1 - 2021-12-03
2
+ * Bug fixes (see mercurial logs for details)
3
+
1
4
  Version 6.2.0 - 2021-11-01
2
5
  * Bug fixes (see mercurial logs for details)
3
6
  * Support grouping attribute
@@ -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
  });