tryton-sao 8.0.2 → 8.0.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 +5 -0
- package/dist/tryton-sao.css +5 -0
- package/dist/tryton-sao.js +20 -17
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/sao.less +5 -0
- package/src/session.js +19 -16
package/CHANGELOG
CHANGED
package/dist/tryton-sao.css
CHANGED
|
@@ -10077,6 +10077,10 @@ img.icon {
|
|
|
10077
10077
|
height: 1.42857143em;
|
|
10078
10078
|
display: block;
|
|
10079
10079
|
}
|
|
10080
|
+
[dir="rtl"] .treeview > table.tree img.column-affix,
|
|
10081
|
+
[dir="rtl"] .treeview > table.tree a.column-affix > img {
|
|
10082
|
+
transform: scaleX(-1);
|
|
10083
|
+
}
|
|
10080
10084
|
.treeview > table.tree tr.more-row {
|
|
10081
10085
|
text-align: center;
|
|
10082
10086
|
}
|
|
@@ -10196,6 +10200,7 @@ img.icon {
|
|
|
10196
10200
|
}
|
|
10197
10201
|
[dir="rtl"] .treeview .expander > img {
|
|
10198
10202
|
float: right;
|
|
10203
|
+
transform: scaleX(-1);
|
|
10199
10204
|
}
|
|
10200
10205
|
.treeview label {
|
|
10201
10206
|
font-weight: normal;
|
package/dist/tryton-sao.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-redeclare */
|
|
5
5
|
var Sao = {
|
|
6
|
-
__version__: '8.0.
|
|
6
|
+
__version__: '8.0.3',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -2761,7 +2761,7 @@ var Sao = {
|
|
|
2761
2761
|
'contentType': 'application/json',
|
|
2762
2762
|
'data': JSON.stringify(args),
|
|
2763
2763
|
'dataType': 'json',
|
|
2764
|
-
'url':
|
|
2764
|
+
'url': (this.database || '.') + '/rpc/#' + args.method,
|
|
2765
2765
|
'type': 'post',
|
|
2766
2766
|
});
|
|
2767
2767
|
},
|
|
@@ -2859,15 +2859,16 @@ var Sao = {
|
|
|
2859
2859
|
|
|
2860
2860
|
Sao.Session.server_version = function() {
|
|
2861
2861
|
var timeoutID = Sao.common.processing.show();
|
|
2862
|
-
|
|
2863
|
-
'contentType': 'application/json',
|
|
2864
|
-
'data': JSON.stringify({
|
|
2862
|
+
let args = {
|
|
2865
2863
|
'id': 0,
|
|
2866
2864
|
'method': 'common.server.version',
|
|
2867
2865
|
'params': []
|
|
2868
|
-
}
|
|
2866
|
+
};
|
|
2867
|
+
return jQuery.ajax({
|
|
2868
|
+
'contentType': 'application/json',
|
|
2869
|
+
'data': JSON.stringify(args),
|
|
2869
2870
|
'dataType': 'json',
|
|
2870
|
-
'url': 'rpc
|
|
2871
|
+
'url': 'rpc/#' + args.method,
|
|
2871
2872
|
'type': 'post',
|
|
2872
2873
|
'complete': [function() {
|
|
2873
2874
|
Sao.common.processing.hide(timeoutID);
|
|
@@ -3272,15 +3273,16 @@ var Sao = {
|
|
|
3272
3273
|
|
|
3273
3274
|
Sao.DB.list = function() {
|
|
3274
3275
|
var timeoutID = Sao.common.processing.show();
|
|
3275
|
-
|
|
3276
|
-
'contentType': 'application/json',
|
|
3277
|
-
'data': JSON.stringify({
|
|
3276
|
+
let args = {
|
|
3278
3277
|
'id': 0,
|
|
3279
3278
|
'method': 'common.db.list',
|
|
3280
3279
|
'params': []
|
|
3281
|
-
}
|
|
3280
|
+
};
|
|
3281
|
+
return jQuery.ajax({
|
|
3282
|
+
'contentType': 'application/json',
|
|
3283
|
+
'data': JSON.stringify(args),
|
|
3282
3284
|
'dataType': 'json',
|
|
3283
|
-
'url': 'rpc
|
|
3285
|
+
'url': 'rpc/#' + args.method,
|
|
3284
3286
|
'type': 'post',
|
|
3285
3287
|
'complete': [function() {
|
|
3286
3288
|
Sao.common.processing.hide(timeoutID);
|
|
@@ -3294,15 +3296,16 @@ var Sao = {
|
|
|
3294
3296
|
|
|
3295
3297
|
Sao.Authentication.services = function() {
|
|
3296
3298
|
var timeoutID = Sao.common.processing.show();
|
|
3297
|
-
|
|
3298
|
-
'contentType': 'application/json',
|
|
3299
|
-
'data': JSON.stringify({
|
|
3299
|
+
let args = {
|
|
3300
3300
|
'id': 0,
|
|
3301
3301
|
'method': 'common.authentication.services',
|
|
3302
3302
|
'params': []
|
|
3303
|
-
}
|
|
3303
|
+
}
|
|
3304
|
+
return jQuery.ajax({
|
|
3305
|
+
'contentType': 'application/json',
|
|
3306
|
+
'data': JSON.stringify(args),
|
|
3304
3307
|
'dataType': 'json',
|
|
3305
|
-
'url': 'rpc
|
|
3308
|
+
'url': 'rpc/#' + args.method,
|
|
3306
3309
|
'type': 'post',
|
|
3307
3310
|
'complete': [function() {
|
|
3308
3311
|
Sao.common.processing.hide(timeoutID);
|
package/package.json
CHANGED
package/src/sao.js
CHANGED
package/src/sao.less
CHANGED
|
@@ -1025,6 +1025,10 @@ img.icon {
|
|
|
1025
1025
|
width: unit(@line-height-base, em);
|
|
1026
1026
|
height: unit(@line-height-base, em);
|
|
1027
1027
|
display: block;
|
|
1028
|
+
|
|
1029
|
+
[dir="rtl"] & {
|
|
1030
|
+
transform: scaleX(-1);
|
|
1031
|
+
}
|
|
1028
1032
|
}
|
|
1029
1033
|
|
|
1030
1034
|
tr.more-row {
|
|
@@ -1118,6 +1122,7 @@ img.icon {
|
|
|
1118
1122
|
float: left;
|
|
1119
1123
|
[dir="rtl"] & {
|
|
1120
1124
|
float: right;
|
|
1125
|
+
transform: scaleX(-1);
|
|
1121
1126
|
}
|
|
1122
1127
|
width: unit(@line-height-base, em);
|
|
1123
1128
|
height: unit(@line-height-base, em);
|
package/src/session.js
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
'contentType': 'application/json',
|
|
84
84
|
'data': JSON.stringify(args),
|
|
85
85
|
'dataType': 'json',
|
|
86
|
-
'url':
|
|
86
|
+
'url': (this.database || '.') + '/rpc/#' + args.method,
|
|
87
87
|
'type': 'post',
|
|
88
88
|
});
|
|
89
89
|
},
|
|
@@ -181,15 +181,16 @@
|
|
|
181
181
|
|
|
182
182
|
Sao.Session.server_version = function() {
|
|
183
183
|
var timeoutID = Sao.common.processing.show();
|
|
184
|
-
|
|
185
|
-
'contentType': 'application/json',
|
|
186
|
-
'data': JSON.stringify({
|
|
184
|
+
let args = {
|
|
187
185
|
'id': 0,
|
|
188
186
|
'method': 'common.server.version',
|
|
189
187
|
'params': []
|
|
190
|
-
}
|
|
188
|
+
};
|
|
189
|
+
return jQuery.ajax({
|
|
190
|
+
'contentType': 'application/json',
|
|
191
|
+
'data': JSON.stringify(args),
|
|
191
192
|
'dataType': 'json',
|
|
192
|
-
'url': 'rpc
|
|
193
|
+
'url': 'rpc/#' + args.method,
|
|
193
194
|
'type': 'post',
|
|
194
195
|
'complete': [function() {
|
|
195
196
|
Sao.common.processing.hide(timeoutID);
|
|
@@ -594,15 +595,16 @@
|
|
|
594
595
|
|
|
595
596
|
Sao.DB.list = function() {
|
|
596
597
|
var timeoutID = Sao.common.processing.show();
|
|
597
|
-
|
|
598
|
-
'contentType': 'application/json',
|
|
599
|
-
'data': JSON.stringify({
|
|
598
|
+
let args = {
|
|
600
599
|
'id': 0,
|
|
601
600
|
'method': 'common.db.list',
|
|
602
601
|
'params': []
|
|
603
|
-
}
|
|
602
|
+
};
|
|
603
|
+
return jQuery.ajax({
|
|
604
|
+
'contentType': 'application/json',
|
|
605
|
+
'data': JSON.stringify(args),
|
|
604
606
|
'dataType': 'json',
|
|
605
|
-
'url': 'rpc
|
|
607
|
+
'url': 'rpc/#' + args.method,
|
|
606
608
|
'type': 'post',
|
|
607
609
|
'complete': [function() {
|
|
608
610
|
Sao.common.processing.hide(timeoutID);
|
|
@@ -616,15 +618,16 @@
|
|
|
616
618
|
|
|
617
619
|
Sao.Authentication.services = function() {
|
|
618
620
|
var timeoutID = Sao.common.processing.show();
|
|
619
|
-
|
|
620
|
-
'contentType': 'application/json',
|
|
621
|
-
'data': JSON.stringify({
|
|
621
|
+
let args = {
|
|
622
622
|
'id': 0,
|
|
623
623
|
'method': 'common.authentication.services',
|
|
624
624
|
'params': []
|
|
625
|
-
}
|
|
625
|
+
}
|
|
626
|
+
return jQuery.ajax({
|
|
627
|
+
'contentType': 'application/json',
|
|
628
|
+
'data': JSON.stringify(args),
|
|
626
629
|
'dataType': 'json',
|
|
627
|
-
'url': 'rpc
|
|
630
|
+
'url': 'rpc/#' + args.method,
|
|
628
631
|
'type': 'post',
|
|
629
632
|
'complete': [function() {
|
|
630
633
|
Sao.common.processing.hide(timeoutID);
|