summaryrefslogtreecommitdiff
path: root/addons/link_tracker/controller
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-09-09 15:49:58 +0200
committerqsm-odoo <qsm@odoo.com>2016-09-09 16:33:00 +0200
commita00ea2755d93cef160a13d4652729e3c655fdbb8 (patch)
treebe24b0682cf9579bac5738d442e9a08f783b353d /addons/link_tracker/controller
parent08ebf2cf616fa2fb982baeaeab3e031a1431fa7a (diff)
[FIX] website_theme_install: restore correct external id for theme/hidden category
The website_theme_install needs to reference the module category whose xml_id is base.module_category_theme_hidden. The problem was that it needs to do this in a context where the category might not exist (as auto-created only if a module defines its category as "Theme/Hidden"). To solve the problem, the category was explicitly created by the website_theme_install module to be able to reference it. Commit 11812b0b9e82b2b1b9041d8250ce01e7b4a5f7ee removed the "base." part of the xml_id thinking it was a record which had to be created by the module. This then wrongly showed the Theme/Hidden modules in the list. Now the solution came from commit https://github.com/odoo/odoo/commit/c6983137#diff-07193f47475ccdd78f39773a368ce05bL386 which now allows to use the second parameter of ref in a domain context. This allows to tell the system to not raise an exception if the ref we want to find does not exist.
Diffstat (limited to 'addons/link_tracker/controller')
0 files changed, 0 insertions, 0 deletions