tryton-sao 6.2.10 → 6.4.2
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 +13 -24
- package/Gruntfile.js +15 -14
- package/dist/tryton-sao.css +33 -7
- package/dist/tryton-sao.js +2444 -2180
- package/dist/tryton-sao.min.css +33 -7
- package/dist/tryton-sao.min.js +2 -3
- package/locale/bg.json +1 -1
- package/locale/bg.po +20 -8
- package/locale/ca.json +1 -1
- package/locale/ca.po +29 -36
- package/locale/cs.json +1 -1
- package/locale/cs.po +20 -8
- package/locale/de.json +1 -1
- package/locale/de.po +29 -34
- package/locale/es.json +1 -1
- package/locale/es.po +21 -42
- package/locale/es_419.json +1 -1
- package/locale/es_419.po +22 -10
- package/locale/et.json +1 -1
- package/locale/et.po +27 -13
- package/locale/fa.json +1 -1
- package/locale/fa.po +27 -13
- package/locale/fi.json +1 -1
- package/locale/fi.po +20 -8
- package/locale/fr.json +1 -1
- package/locale/fr.po +22 -27
- package/locale/hu.json +1 -1
- package/locale/hu.po +23 -9
- package/locale/id.json +1 -1
- package/locale/id.po +36 -32
- package/locale/it.json +1 -1
- package/locale/it.po +40 -34
- package/locale/lo.json +1 -1
- package/locale/lo.po +22 -11
- package/locale/lt.json +1 -1
- package/locale/lt.po +23 -8
- package/locale/messages.pot +24 -14
- package/locale/nl.json +1 -1
- package/locale/nl.po +58 -63
- package/locale/pl.json +1 -1
- package/locale/pl.po +29 -12
- package/locale/pt.json +1 -1
- package/locale/pt.po +27 -13
- package/locale/ro.json +1 -1
- package/locale/ro.po +26 -27
- package/locale/ru.json +1 -1
- package/locale/ru.po +22 -8
- package/locale/sl.json +1 -1
- package/locale/sl.po +29 -11
- package/locale/tr.json +1 -1
- package/locale/tr.po +20 -8
- package/locale/zh_CN.json +1 -1
- package/locale/zh_CN.po +23 -10
- package/package.json +2 -3
- package/src/.jshintrc +1 -0
- package/src/action.js +8 -15
- package/src/board.js +44 -31
- package/src/bus.js +9 -2
- package/src/common.js +302 -251
- package/src/html_sanitizer.js +1 -1
- package/src/model.js +312 -355
- package/src/pyson.js +34 -57
- package/src/rpc.js +1 -4
- package/src/sao.js +76 -46
- package/src/sao.less +46 -17
- package/src/screen.js +371 -352
- package/src/session.js +16 -15
- package/src/tab.js +267 -254
- package/src/view/calendar.js +18 -18
- package/src/view/form.js +259 -244
- package/src/view/graph.js +14 -18
- package/src/view/list_form.js +13 -13
- package/src/view/tree.js +359 -208
- package/src/view.js +22 -21
- package/src/window.js +272 -237
- package/src/wizard.js +45 -37
- package/tests/sao.js +59 -11
package/CHANGELOG
CHANGED
|
@@ -1,32 +1,21 @@
|
|
|
1
|
-
Version 6.2
|
|
1
|
+
Version 6.4.2 - 2022-06-15
|
|
2
2
|
* Bug fixes (see mercurial logs for details)
|
|
3
3
|
|
|
4
|
-
Version 6.
|
|
4
|
+
Version 6.4.1 - 2022-06-03
|
|
5
5
|
* Bug fixes (see mercurial logs for details)
|
|
6
6
|
|
|
7
|
-
Version 6.
|
|
8
|
-
* Bug fixes (see mercurial logs for details)
|
|
9
|
-
|
|
10
|
-
Version 6.2.7 - 2022-04-15
|
|
11
|
-
* Bug fixes (see mercurial logs for details)
|
|
12
|
-
|
|
13
|
-
Version 6.2.6 - 2022-03-01
|
|
14
|
-
* Bug fixes (see mercurial logs for details)
|
|
15
|
-
|
|
16
|
-
Version 6.2.5 - 2022-02-16
|
|
17
|
-
* Bug fixes (see mercurial logs for details)
|
|
18
|
-
|
|
19
|
-
Version 6.2.4 - 2022-02-01
|
|
20
|
-
* Bug fixes (see mercurial logs for details)
|
|
21
|
-
|
|
22
|
-
Version 6.2.3 - 2022-01-15
|
|
23
|
-
* Bug fixes (see mercurial logs for details)
|
|
24
|
-
|
|
25
|
-
Version 6.2.2 - 2022-01-01
|
|
26
|
-
* Bug fixes (see mercurial logs for details)
|
|
27
|
-
|
|
28
|
-
Version 6.2.1 - 2021-12-03
|
|
7
|
+
Version 6.4.0 - 2022-05-02
|
|
29
8
|
* Bug fixes (see mercurial logs for details)
|
|
9
|
+
* Support notification message
|
|
10
|
+
* Allow Reference to be edited from tree view
|
|
11
|
+
* Set ECMAScript version to 6
|
|
12
|
+
* Manage optional column
|
|
13
|
+
* Display the number of selected records
|
|
14
|
+
* Humanize the count result
|
|
15
|
+
* Add limit to search_count
|
|
16
|
+
* Call view_get for board view
|
|
17
|
+
* Limit board action domain to active id and ids
|
|
18
|
+
* Manage creatable attribute of view
|
|
30
19
|
|
|
31
20
|
Version 6.2.0 - 2021-11-01
|
|
32
21
|
* Bug fixes (see mercurial logs for details)
|
package/Gruntfile.js
CHANGED
|
@@ -37,17 +37,6 @@ module.exports = function(grunt) {
|
|
|
37
37
|
// Project configuration.
|
|
38
38
|
grunt.initConfig({
|
|
39
39
|
pkg: grunt.file.readJSON('package.json'),
|
|
40
|
-
xgettext: {
|
|
41
|
-
locale: {
|
|
42
|
-
files: {
|
|
43
|
-
javascript: jsfiles
|
|
44
|
-
},
|
|
45
|
-
options: {
|
|
46
|
-
functionName: "Sao.i18n.gettext",
|
|
47
|
-
potFile: "locale/messages.pot"
|
|
48
|
-
},
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
40
|
shell: {
|
|
52
41
|
options: {
|
|
53
42
|
failOnError: true
|
|
@@ -55,8 +44,20 @@ module.exports = function(grunt) {
|
|
|
55
44
|
msgmerge: {
|
|
56
45
|
command: _.map(locales, function(locale) {
|
|
57
46
|
var po = "locale/" + locale + ".po";
|
|
58
|
-
return
|
|
47
|
+
return (
|
|
48
|
+
"msgmerge " +
|
|
49
|
+
"-U " + po + " " +
|
|
50
|
+
"--no-location " +
|
|
51
|
+
"locale/messages.pot;");
|
|
59
52
|
}).join("")
|
|
53
|
+
},
|
|
54
|
+
xgettext: {
|
|
55
|
+
command: (
|
|
56
|
+
"xgettext " +
|
|
57
|
+
"--language=JavaScript --from-code=UTF-8 " +
|
|
58
|
+
"--omit-header --no-location " +
|
|
59
|
+
"-o locale/messages.pot " +
|
|
60
|
+
jsfiles.join(" "))
|
|
60
61
|
}
|
|
61
62
|
},
|
|
62
63
|
po2json: {
|
|
@@ -171,8 +172,8 @@ module.exports = function(grunt) {
|
|
|
171
172
|
grunt.task.run(['shell:msgmerge']);
|
|
172
173
|
});
|
|
173
174
|
grunt.registerTask('xgettext', ' Extracts translatable messages', function() {
|
|
174
|
-
grunt.loadNpmTasks('grunt-
|
|
175
|
-
grunt.task.run(['xgettext']);
|
|
175
|
+
grunt.loadNpmTasks('grunt-shell');
|
|
176
|
+
grunt.task.run(['shell:xgettext']);
|
|
176
177
|
});
|
|
177
178
|
grunt.registerTask('test', 'Run tests', function() {
|
|
178
179
|
grunt.loadNpmTasks('grunt-contrib-qunit');
|
package/dist/tryton-sao.css
CHANGED
|
@@ -9205,8 +9205,15 @@ button {
|
|
|
9205
9205
|
background-color: #267f82;
|
|
9206
9206
|
color: #fff;
|
|
9207
9207
|
}
|
|
9208
|
+
#tablist {
|
|
9209
|
+
display: flex;
|
|
9210
|
+
overflow-x: auto;
|
|
9211
|
+
}
|
|
9212
|
+
#tablist > li {
|
|
9213
|
+
flex: auto;
|
|
9214
|
+
min-width: 9em;
|
|
9215
|
+
}
|
|
9208
9216
|
#tablist > li > a > span {
|
|
9209
|
-
max-width: 9em;
|
|
9210
9217
|
overflow: hidden;
|
|
9211
9218
|
text-overflow: ellipsis;
|
|
9212
9219
|
white-space: nowrap;
|
|
@@ -9218,9 +9225,18 @@ button {
|
|
|
9218
9225
|
margin-right: 0;
|
|
9219
9226
|
margin-left: 15px;
|
|
9220
9227
|
}
|
|
9228
|
+
@media screen and (max-width: 767px) {
|
|
9229
|
+
#tablist {
|
|
9230
|
+
display: block;
|
|
9231
|
+
}
|
|
9232
|
+
#tablist > li {
|
|
9233
|
+
float: none;
|
|
9234
|
+
}
|
|
9235
|
+
}
|
|
9221
9236
|
#menu,
|
|
9222
9237
|
#tabs {
|
|
9223
9238
|
margin-top: 5px;
|
|
9239
|
+
padding-bottom: 5px;
|
|
9224
9240
|
}
|
|
9225
9241
|
#menu {
|
|
9226
9242
|
background-color: #f8f8f8;
|
|
@@ -9433,8 +9449,8 @@ html.accesskey select[accesskey] ~ span[data-accesskey] {
|
|
|
9433
9449
|
}
|
|
9434
9450
|
.tab-form .navbar-text .badge,
|
|
9435
9451
|
.tab-board .navbar-text .badge {
|
|
9436
|
-
max-width:
|
|
9437
|
-
min-width:
|
|
9452
|
+
max-width: 7em;
|
|
9453
|
+
min-width: 7em;
|
|
9438
9454
|
overflow: hidden;
|
|
9439
9455
|
text-overflow: ellipsis;
|
|
9440
9456
|
}
|
|
@@ -9569,13 +9585,16 @@ img.icon {
|
|
|
9569
9585
|
}
|
|
9570
9586
|
.treeview > table.tree col.selection-state,
|
|
9571
9587
|
.treeview > table.tree col.favorite,
|
|
9572
|
-
.treeview > table.tree col.draggable-handle
|
|
9588
|
+
.treeview > table.tree col.draggable-handle,
|
|
9589
|
+
.treeview > table.tree col.optional {
|
|
9573
9590
|
width: 30px;
|
|
9574
9591
|
}
|
|
9575
|
-
.treeview > table.tree td.draggable-handle
|
|
9592
|
+
.treeview > table.tree td.draggable-handle,
|
|
9593
|
+
.treeview > table.tree td.optional {
|
|
9576
9594
|
cursor: grab;
|
|
9577
9595
|
}
|
|
9578
|
-
.treeview > table.tree td.draggable-handle > img
|
|
9596
|
+
.treeview > table.tree td.draggable-handle > img,
|
|
9597
|
+
.treeview > table.tree td.optional > img {
|
|
9579
9598
|
display: block;
|
|
9580
9599
|
margin-right: auto;
|
|
9581
9600
|
margin-left: auto;
|
|
@@ -9594,6 +9613,13 @@ img.icon {
|
|
|
9594
9613
|
.treeview > table.tree > thead > tr > th > label.sortable {
|
|
9595
9614
|
cursor: pointer;
|
|
9596
9615
|
}
|
|
9616
|
+
.treeview > table.tree > thead > tr > th.optional {
|
|
9617
|
+
cursor: pointer;
|
|
9618
|
+
overflow: visible;
|
|
9619
|
+
}
|
|
9620
|
+
.treeview > table.tree > thead > tr > th.optional .dropdown input[type="checkbox"] {
|
|
9621
|
+
margin-left: 5px;
|
|
9622
|
+
}
|
|
9597
9623
|
.treeview > table.tree > thead > tr > th.char,
|
|
9598
9624
|
.treeview > table.tree > thead > tr > th.text,
|
|
9599
9625
|
.treeview > table.tree > thead > tr > th.many2one,
|
|
@@ -10296,7 +10322,7 @@ input.column-boolean {
|
|
|
10296
10322
|
.infobar {
|
|
10297
10323
|
line-height: 20px;
|
|
10298
10324
|
position: fixed;
|
|
10299
|
-
top:
|
|
10325
|
+
top: 30px;
|
|
10300
10326
|
left: 50%;
|
|
10301
10327
|
transform: translateX(-50%);
|
|
10302
10328
|
z-index: 1000;
|