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 CHANGED
@@ -1,3 +1,6 @@
1
+ Version 6.0.10 - 2021-12-03
2
+ * Bug fixes (see mercurial logs for details)
3
+
1
4
  Version 6.0.9 - 2021-11-04
2
5
  * Bug fixes (see mercurial logs for details)
3
6
 
@@ -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
  });