[FIX] action manager: use EncodeURIComponent instead of EncodeURI because of bad encoding of the ampersand in the secund (resulting in impossibility to encode 'Belgium Profit & Loss' for instance)
bzr revid: sle@openerp.com-20140403211717-sb84ir2ts62yizzf
This commit is contained in:
parent
3a917639c8
commit
a1f08e0d10
|
@ -33,8 +33,8 @@ openerp.report = function(instance) {
|
|||
report_url += "/" + action.context.active_ids.join(',');
|
||||
}
|
||||
} else {
|
||||
report_url += "?options=" + encodeURI(JSON.stringify(action.data));
|
||||
report_url += "&context=" + encodeURI(JSON.stringify(action.context));
|
||||
report_url += "?options=" + encodeURIComponent(JSON.stringify(action.data));
|
||||
report_url += "&context=" + encodeURIComponent(JSON.stringify(action.context));
|
||||
}
|
||||
|
||||
if (action.report_type == 'qweb-html') {
|
||||
|
|
Loading…
Reference in New Issue