tryton-sao 6.2.2 → 6.2.3

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.3 - 2022-01-15
2
+ * Bug fixes (see mercurial logs for details)
3
+
1
4
  Version 6.2.2 - 2022-01-01
2
5
  * Bug fixes (see mercurial logs for details)
3
6
 
package/COPYRIGHT CHANGED
@@ -1,7 +1,7 @@
1
1
  Copyright (C) 2012-2021 Nicolas Évrard.
2
- Copyright (C) 2012-2021 Cédric Krier.
2
+ Copyright (C) 2012-2022 Cédric Krier.
3
3
  Copyright (C) 2012-2014 Bertrand Chenal.
4
- Copyright (C) 2012-2021 B2CK SPRL.
4
+ Copyright (C) 2012-2022 B2CK SPRL.
5
5
  Copyright (C) 2019 Jitbit.
6
6
  Copyright (C) 2013 Thomas Park
7
7
  Copyright (C) 2020-2021 Maxime Richez
@@ -8687,6 +8687,9 @@ html[theme="default"] .input-group-sm > .form-control,
8687
8687
  html[theme="default"] .input-group-sm > .input-group-addon {
8688
8688
  padding: 0 5px;
8689
8689
  }
8690
+ html[theme="default"] .has-feedback .form-control {
8691
+ padding-right: 42.5px;
8692
+ }
8690
8693
  html[theme="default"] .input-group-addon {
8691
8694
  background-color: transparent;
8692
8695
  border: transparent;
@@ -9165,6 +9168,9 @@ button {
9165
9168
  overflow-y: hidden;
9166
9169
  text-overflow: ellipsis;
9167
9170
  }
9171
+ .input-group > .form-control-feedback {
9172
+ z-index: 3;
9173
+ }
9168
9174
  .navbar-inverse .close {
9169
9175
  color: #6dd1d4;
9170
9176
  }
@@ -9389,7 +9395,7 @@ button.list-group-item-selected.active:focus {
9389
9395
  .table-hover > tbody > tr.danger:hover > th {
9390
9396
  background-color: #ebcccc;
9391
9397
  }
9392
- html.accesskey *[accesskey] + span[data-accesskey]:after,
9398
+ html.accesskey *[accesskey] ~ span[data-accesskey]:after,
9393
9399
  html.accesskey *[accesskey]:after {
9394
9400
  background-color: #71bdc1;
9395
9401
  color: #fff;
@@ -9403,19 +9409,19 @@ html.accesskey *[accesskey]:after {
9403
9409
  html.accesskey input[accesskey][type="checkbox"]:after {
9404
9410
  background-color: initial;
9405
9411
  }
9406
- html.accesskey *[accesskey] + span[data-accesskey] {
9412
+ html.accesskey *[accesskey] ~ span[data-accesskey] {
9407
9413
  float: right;
9408
9414
  position: relative;
9409
9415
  }
9410
- html.accesskey *[accesskey] + span[data-accesskey]:after {
9416
+ html.accesskey *[accesskey] ~ span[data-accesskey]:after {
9411
9417
  content: attr(data-accesskey);
9412
9418
  }
9413
9419
  html.accesskey *[accesskey]:after {
9414
9420
  content: attr(accesskey);
9415
9421
  }
9416
- html.accesskey input[accesskey][type="checkbox"] + span[data-accesskey],
9417
- html.accesskey input[accesskey][type="checkbox"] + span[data-accesskey],
9418
- html.accesskey select[accesskey] + span[data-accesskey] {
9422
+ html.accesskey input[accesskey][type="checkbox"] ~ span[data-accesskey],
9423
+ html.accesskey input[accesskey][type="checkbox"] ~ span[data-accesskey],
9424
+ html.accesskey select[accesskey] ~ span[data-accesskey] {
9419
9425
  bottom: 1em;
9420
9426
  }
9421
9427
  .tab-form nav.toolbar,
@@ -1679,7 +1679,7 @@ var Sao = {};
1679
1679
  'd': value.d,
1680
1680
  }, context[value.v.substring(0, idx)] || {});
1681
1681
  }
1682
- if (value.v in context) {
1682
+ if ((value.v in context) && (context[value.v] !== undefined)) {
1683
1683
  return context[value.v];
1684
1684
  } else {
1685
1685
  return value.d;
@@ -13408,7 +13408,9 @@ var Sao = {};
13408
13408
  if (props.selection instanceof Array) {
13409
13409
  continue;
13410
13410
  }
13411
+ props = jQuery.extend({}, props);
13411
13412
  props.selection = this.get_selection(props);
13413
+ fields[name] = props;
13412
13414
  }
13413
13415
 
13414
13416
  if ('arch' in view_tree) {
@@ -14192,7 +14194,7 @@ function eval_pyson(value){
14192
14194
  widget.labelled.get(0).tagName)) {
14193
14195
  jQuery('<span/>', {
14194
14196
  'data-accesskey': accesskey,
14195
- }).insertAfter(widget.labelled);
14197
+ }).appendTo(widget.labelled.parent());
14196
14198
  }
14197
14199
  label.label_el.attr('for', widget.labelled.attr('id'));
14198
14200
  }
@@ -23254,7 +23256,7 @@ function eval_pyson(value){
23254
23256
  var ctx = {
23255
23257
  active_model: data.model || null,
23256
23258
  active_id: data.id || null,
23257
- active_ids: data.ids
23259
+ active_ids: data.ids || [],
23258
23260
  };
23259
23261
  ctx = jQuery.extend(ctx, session.context);
23260
23262
  ctx._user = session.user_id;
@@ -8687,6 +8687,9 @@ html[theme="default"] .input-group-sm > .form-control,
8687
8687
  html[theme="default"] .input-group-sm > .input-group-addon {
8688
8688
  padding: 0 5px;
8689
8689
  }
8690
+ html[theme="default"] .has-feedback .form-control {
8691
+ padding-right: 42.5px;
8692
+ }
8690
8693
  html[theme="default"] .input-group-addon {
8691
8694
  background-color: transparent;
8692
8695
  border: transparent;
@@ -9165,6 +9168,9 @@ button {
9165
9168
  overflow-y: hidden;
9166
9169
  text-overflow: ellipsis;
9167
9170
  }
9171
+ .input-group > .form-control-feedback {
9172
+ z-index: 3;
9173
+ }
9168
9174
  .navbar-inverse .close {
9169
9175
  color: #6dd1d4;
9170
9176
  }
@@ -9389,7 +9395,7 @@ button.list-group-item-selected.active:focus {
9389
9395
  .table-hover > tbody > tr.danger:hover > th {
9390
9396
  background-color: #ebcccc;
9391
9397
  }
9392
- html.accesskey *[accesskey] + span[data-accesskey]:after,
9398
+ html.accesskey *[accesskey] ~ span[data-accesskey]:after,
9393
9399
  html.accesskey *[accesskey]:after {
9394
9400
  background-color: #71bdc1;
9395
9401
  color: #fff;
@@ -9403,19 +9409,19 @@ html.accesskey *[accesskey]:after {
9403
9409
  html.accesskey input[accesskey][type="checkbox"]:after {
9404
9410
  background-color: initial;
9405
9411
  }
9406
- html.accesskey *[accesskey] + span[data-accesskey] {
9412
+ html.accesskey *[accesskey] ~ span[data-accesskey] {
9407
9413
  float: right;
9408
9414
  position: relative;
9409
9415
  }
9410
- html.accesskey *[accesskey] + span[data-accesskey]:after {
9416
+ html.accesskey *[accesskey] ~ span[data-accesskey]:after {
9411
9417
  content: attr(data-accesskey);
9412
9418
  }
9413
9419
  html.accesskey *[accesskey]:after {
9414
9420
  content: attr(accesskey);
9415
9421
  }
9416
- html.accesskey input[accesskey][type="checkbox"] + span[data-accesskey],
9417
- html.accesskey input[accesskey][type="checkbox"] + span[data-accesskey],
9418
- html.accesskey select[accesskey] + span[data-accesskey] {
9422
+ html.accesskey input[accesskey][type="checkbox"] ~ span[data-accesskey],
9423
+ html.accesskey input[accesskey][type="checkbox"] ~ span[data-accesskey],
9424
+ html.accesskey select[accesskey] ~ span[data-accesskey] {
9419
9425
  bottom: 1em;
9420
9426
  }
9421
9427
  .tab-form nav.toolbar,