changeset 2ca472f6bdbb in sao:5.6
details: https://hg.tryton.org/sao?cmd=changeset;node=2ca472f6bdbb
description:
Display the full path of select fields to export
issue9595
review323971003
(grafted from 0fafb1c4151530f24fb77847f8b51d44bf0457e5)
diffstat:
src/window.js | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (25 lines):
diff -r 2b1545fc8d57 -r 2ca472f6bdbb src/window.js
--- a/src/window.js Tue Sep 22 10:18:39 2020 +0200
+++ b/src/window.js Thu Sep 24 22:43:50 2020 +0200
@@ -1628,11 +1628,7 @@
items.forEach(function(item) {
var path = prefix_field + item.name;
- var long_string = item.string;
-
- if (prefix_field) {
- long_string = prefix_name + item.string;
- }
+ var long_string = prefix_name + item.string;
var node = {
path: path,
@@ -1654,7 +1650,7 @@
if (jQuery.isEmptyObject(node.children)) {
this.model_populate(
this._get_fields(node.relation), node.children,
- node.path + '/', node.string + '/');
+ node.path + '/', node.long_string + '/');
}
},
sig_sel_add: function(el_field) {