[FIX] base: ir_ui_view unescape %% in dev mode
In dev mode with xml feature, we read the xml from file directly. %% should be unescape to get % instead.
This commit is contained in:
@@ -201,7 +201,7 @@ actual arch.
|
||||
fullpath = get_resource_path(*view.arch_fs.split('/'))
|
||||
arch_fs = get_view_arch_from_file(fullpath, view.xml_id)
|
||||
# replace %(xml_id)s, %(xml_id)d, %%(xml_id)s, %%(xml_id)d by the res_id
|
||||
arch_fs = arch_fs and resolve_external_ids(arch_fs, view.xml_id)
|
||||
arch_fs = arch_fs and resolve_external_ids(arch_fs, view.xml_id).replace('%%', '%')
|
||||
view.arch = arch_fs or view.arch_db
|
||||
|
||||
def _inverse_arch(self):
|
||||
|
||||
Reference in New Issue
Block a user