cbb51610ee
- Translations lookup normally uses the namespace of the current QWeb template, after merging all inherited views. But when a QWeb template is "cloned" by a child view using inheritance with `primary` mode, the translations are more likely to exist for the original (parent) template, and would not be found when using only the "child" namespace. This patch adds support for looking up each translation also in the parent namespace in this case, if none was found for the child template in the first place. - ir.translation's _get_source() now supports a list of res_id to search for, in addition to a single res_id - Also moved the logic of routes /website/customize_template_get and /website/get_view_translations to the ir.ui.view model where it belongs. opw: 615241 Closes #5325 |
||
---|---|---|
.. | ||
i18n | ||
ir | ||
module | ||
report | ||
res | ||
rng | ||
security | ||
static | ||
tests | ||
workflow | ||
__init__.py | ||
__openerp__.py | ||
base.sql | ||
base_data.xml | ||
base_demo.xml | ||
base_menu.xml |