tryton-sao 7.0.41 → 7.0.43

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,4 +1,14 @@
1
1
 
2
+ Version 7.0.43 - 2026-01-15
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
7
+ Version 7.0.42 - 2025-12-20
8
+ ---------------------------
9
+ * Bug fixes (see mercurial logs for details)
10
+
11
+
2
12
  Version 7.0.41 - 2025-12-17
3
13
  ---------------------------
4
14
  * Bug fixes (see mercurial logs for details)
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.0.41',
6
+ __version__: '7.0.43',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
@@ -12042,6 +12042,9 @@ var Sao = {
12042
12042
  const view_type = this.screen.current_view.view_type;
12043
12043
  var next_view_type = this.screen.next_view_type;
12044
12044
  const has_views = this.screen.number_of_views > 1;
12045
+ let sensitive = (
12046
+ record_id >= 0 ? record_id !== null && record_id !== undefined :
12047
+ false);
12045
12048
  var buttons = ['print', 'relate', 'email', 'attach'];
12046
12049
  for (const button_id of buttons) {
12047
12050
  const button = this.buttons[button_id];
@@ -12058,7 +12061,7 @@ var Sao = {
12058
12061
  return keyword == button_id;
12059
12062
  });
12060
12063
  }
12061
- set_sensitive(button_id, position && can_be_sensitive);
12064
+ set_sensitive(button_id, sensitive && can_be_sensitive);
12062
12065
  }
12063
12066
  set_sensitive(
12064
12067
  'switch_',
@@ -22895,6 +22898,7 @@ function eval_pyson(value){
22895
22898
  view_ids.shift();
22896
22899
  }
22897
22900
  cell.click(event => {
22901
+ event.preventDefault();
22898
22902
  event.stopPropagation();
22899
22903
  var params = {};
22900
22904
  params.model = this.attributes.relation;