tryton-sao 6.0.7 → 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.
Files changed (73) hide show
  1. package/CHANGELOG +8 -17
  2. package/Gruntfile.js +3 -0
  3. package/dist/tryton-sao.css +43 -7
  4. package/dist/tryton-sao.js +682 -327
  5. package/dist/tryton-sao.min.css +43 -7
  6. package/dist/tryton-sao.min.js +2 -2
  7. package/images/tryton-unfold-less.svg +1 -0
  8. package/images/tryton-unfold-more.svg +1 -0
  9. package/locale/bg.json +1 -1
  10. package/locale/bg.po +27 -0
  11. package/locale/ca.json +1 -1
  12. package/locale/ca.po +32 -4
  13. package/locale/cs.json +1 -1
  14. package/locale/cs.po +27 -0
  15. package/locale/de.json +1 -1
  16. package/locale/de.po +33 -20
  17. package/locale/es.json +1 -1
  18. package/locale/es.po +47 -4
  19. package/locale/es_419.json +1 -1
  20. package/locale/es_419.po +27 -0
  21. package/locale/et.json +1 -1
  22. package/locale/et.po +29 -0
  23. package/locale/fa.json +1 -1
  24. package/locale/fa.po +29 -0
  25. package/locale/fi.json +1 -1
  26. package/locale/fi.po +27 -0
  27. package/locale/fr.json +1 -1
  28. package/locale/fr.po +30 -19
  29. package/locale/hu.json +1 -1
  30. package/locale/hu.po +33 -21
  31. package/locale/id.json +1 -1
  32. package/locale/id.po +29 -1
  33. package/locale/it.json +1 -1
  34. package/locale/it.po +30 -17
  35. package/locale/lo.json +1 -1
  36. package/locale/lo.po +30 -14
  37. package/locale/lt.json +1 -1
  38. package/locale/lt.po +28 -0
  39. package/locale/messages.pot +28 -1
  40. package/locale/nl.json +1 -1
  41. package/locale/nl.po +47 -6
  42. package/locale/pl.json +1 -1
  43. package/locale/pl.po +29 -0
  44. package/locale/pt.json +1 -1
  45. package/locale/pt.po +29 -0
  46. package/locale/ro.json +1 -1
  47. package/locale/ro.po +43 -17
  48. package/locale/ru.json +1 -1
  49. package/locale/ru.po +28 -8
  50. package/locale/sl.json +1 -1
  51. package/locale/sl.po +29 -0
  52. package/locale/tr.json +1 -1
  53. package/locale/tr.po +27 -0
  54. package/locale/zh_CN.json +1 -1
  55. package/locale/zh_CN.po +29 -0
  56. package/package.json +1 -1
  57. package/src/action.js +5 -1
  58. package/src/common.js +104 -33
  59. package/src/model.js +27 -9
  60. package/src/plugins.js +2 -2
  61. package/src/pyson.js +3 -3
  62. package/src/rpc.js +2 -21
  63. package/src/sao.js +24 -19
  64. package/src/sao.less +52 -7
  65. package/src/screen.js +11 -6
  66. package/src/session.js +2 -1
  67. package/src/tab.js +112 -111
  68. package/src/theme.less +5 -0
  69. package/src/view/form.js +211 -66
  70. package/src/view/tree.js +106 -19
  71. package/src/view.js +1 -1
  72. package/src/window.js +72 -35
  73. package/tests/sao.js +29 -19
package/CHANGELOG CHANGED
@@ -1,23 +1,14 @@
1
- Version 6.0.7 - 2021-10-01
1
+ Version 6.2.1 - 2021-12-03
2
2
  * Bug fixes (see mercurial logs for details)
3
3
 
4
- Version 6.0.6 - 2021-09-16
5
- * Bug fixes (see mercurial logs for details)
6
-
7
- Version 6.0.5 - 2021-09-01
8
- * Bug fixes (see mercurial logs for details)
9
-
10
- Version 6.0.4 - 2021-08-05
11
- * Bug fixes (see mercurial logs for details)
12
-
13
- Version 6.0.3 - 2021-07-21
14
- * Bug fixes (see mercurial logs for details)
15
-
16
- Version 6.0.2 - 2021-07-01
17
- * Bug fixes (see mercurial logs for details)
18
-
19
- Version 6.0.1 - 2021-06-17
4
+ Version 6.2.0 - 2021-11-01
20
5
  * Bug fixes (see mercurial logs for details)
6
+ * Support grouping attribute
7
+ * Add expander on tree to fold or unfold selected rows
8
+ * Support monetary and symbol field attributes
9
+ * Support digits from relation field
10
+ * Add accesskey to widgets and buttons
11
+ * Support Binary field in CSV import/export
21
12
 
22
13
  Version 6.0.0 - 2021-05-03
23
14
  * Bug fixes (see mercurial logs for details)
package/Gruntfile.js CHANGED
@@ -140,6 +140,9 @@ module.exports = function(grunt) {
140
140
  args: [
141
141
  '--no-sandbox',
142
142
  ],
143
+ env: {
144
+ TZ: 'UTC',
145
+ },
143
146
  },
144
147
  },
145
148
  all: ['tests/*.html']
@@ -8676,6 +8676,9 @@ html[theme="default"] [type=tel].form-control.input-lg,
8676
8676
  html[theme="default"] [contenteditable].form-control.input-lg {
8677
8677
  font-size: 18px;
8678
8678
  }
8679
+ html[theme="default"] .input-group {
8680
+ margin-bottom: 2px;
8681
+ }
8679
8682
  html[theme="default"] .input-group-lg > .form-control,
8680
8683
  html[theme="default"] .input-group-lg > .input-group-addon {
8681
8684
  padding: 0 5px;
@@ -8853,6 +8856,7 @@ html[theme="default"] .checkbox-inline input[type="checkbox"] {
8853
8856
  -webkit-appearance: none;
8854
8857
  appearance: none;
8855
8858
  cursor: pointer;
8859
+ width: 18px;
8856
8860
  }
8857
8861
  html[theme="default"] input[type="checkbox"]:focus,
8858
8862
  html[theme="default"] .checkbox input[type="checkbox"]:focus,
@@ -9157,6 +9161,10 @@ html[theme="default"] .carousel-caption h6 {
9157
9161
  content: "";
9158
9162
  background-color: rgba(0, 0, 0, 0);
9159
9163
  }
9164
+ button {
9165
+ overflow-y: hidden;
9166
+ text-overflow: ellipsis;
9167
+ }
9160
9168
  .navbar-inverse .close {
9161
9169
  color: #6dd1d4;
9162
9170
  }
@@ -9381,6 +9389,35 @@ button.list-group-item-selected.active:focus {
9381
9389
  .table-hover > tbody > tr.danger:hover > th {
9382
9390
  background-color: #ebcccc;
9383
9391
  }
9392
+ html.accesskey *[accesskey] + span[data-accesskey]:after,
9393
+ html.accesskey *[accesskey]:after {
9394
+ background-color: #71bdc1;
9395
+ color: #fff;
9396
+ font-size: x-small;
9397
+ padding: 0 2px;
9398
+ position: absolute;
9399
+ text-transform: uppercase;
9400
+ margin: 0 -1em;
9401
+ z-index: 5;
9402
+ }
9403
+ html.accesskey input[accesskey][type="checkbox"]:after {
9404
+ background-color: initial;
9405
+ }
9406
+ html.accesskey *[accesskey] + span[data-accesskey] {
9407
+ float: right;
9408
+ position: relative;
9409
+ }
9410
+ html.accesskey *[accesskey] + span[data-accesskey]:after {
9411
+ content: attr(data-accesskey);
9412
+ }
9413
+ html.accesskey *[accesskey]:after {
9414
+ content: attr(accesskey);
9415
+ }
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] {
9419
+ bottom: 1em;
9420
+ }
9384
9421
  .tab-form nav.toolbar,
9385
9422
  .tab-board nav.toolbar {
9386
9423
  position: -webkit-sticky;
@@ -9746,6 +9783,10 @@ img.icon {
9746
9783
  padding-top: 0px;
9747
9784
  padding-bottom: 0px;
9748
9785
  }
9786
+ .form table.form-hcontainer > tbody > tr > td > .btn {
9787
+ margin-top: 2px;
9788
+ margin-bottom: 2px;
9789
+ }
9749
9790
  .form table.form-vcontainer > tbody > tr > td {
9750
9791
  padding-left: 0px;
9751
9792
  padding-right: 0px;
@@ -9819,10 +9860,6 @@ img.icon {
9819
9860
  .form .form-many2one > .input-group {
9820
9861
  width: 100%;
9821
9862
  }
9822
- .form td.form-one2many,
9823
- .form td.form-many2many {
9824
- vertical-align: top;
9825
- }
9826
9863
  .form .form-one2many-menu::after,
9827
9864
  .form .form-many2many-menu::after {
9828
9865
  content: "";
@@ -9891,9 +9928,8 @@ img.icon {
9891
9928
  margin-top: 0;
9892
9929
  margin-bottom: 5px;
9893
9930
  }
9894
- .form .form-image_ img {
9895
- width: 4em;
9896
- height: 4em;
9931
+ .form .form-image .caption {
9932
+ min-width: 120px;
9897
9933
  }
9898
9934
  .form .form-document object {
9899
9935
  object-fit: scale-down;