tryton-sao 6.0.73 → 6.0.74

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,9 @@
1
1
 
2
+ Version 6.0.74 - 2026-03-02
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 6.0.73 - 2026-02-18
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -1204,13 +1204,13 @@ var Sao = {};
1204
1204
  var modalZIndex = 1040;
1205
1205
  jQuery('.modal.in').each(function(index) {
1206
1206
  var $modal = jQuery(this);
1207
- modalZIndex++;
1207
+ modalZIndex += 10;
1208
1208
  $modal.css('zIndex', modalZIndex);
1209
- $modal.next('.modal-backdrop.in').addClass('hidden')
1210
- .css('zIndex', modalZIndex - 1);
1209
+ $modal.prev('.modal-backdrop.in').addClass('hidden')
1210
+ .css('zIndex', modalZIndex - 5);
1211
1211
  });
1212
1212
  jQuery('.modal.in:visible:last').focus()
1213
- .next('.modal-backdrop.in').removeClass('hidden');
1213
+ .prev('.modal-backdrop.in').removeClass('hidden');
1214
1214
  }
1215
1215
 
1216
1216
  }());
@@ -10928,6 +10928,8 @@ var Sao = {};
10928
10928
  switch_: function() {
10929
10929
  return this.modified_save().then(function() {
10930
10930
  return this.screen.switch_view();
10931
+ }.bind(this), function(result) {
10932
+ return result ? this.screen.switch_view() : null;
10931
10933
  }.bind(this));
10932
10934
  },
10933
10935
  reload: function(test_modified) {
@@ -11098,10 +11100,12 @@ var Sao = {};
11098
11100
  revision = revisions[revisions.length - 1][0];
11099
11101
  }
11100
11102
  if (revision != this.screen.context._datetime) {
11101
- this.screen.clear();
11102
11103
  // Update group context that will be propagated by
11103
11104
  // recreating new group
11104
11105
  this.screen.group._context._datetime = revision;
11106
+ // clear after updating the datetime such that the tab
11107
+ // compute already the right URL
11108
+ this.screen.clear();
11105
11109
  if (this.screen.current_view.view_type != 'form') {
11106
11110
  this.screen.search_filter(
11107
11111
  this.screen.screen_container