odoo/openerp/addons/base
Goffin Simon cbb51610ee [FIX] ir.ui.view: qweb translations: allow looking up translation in parent template
- 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
2015-02-24 14:01:34 +01:00
..
i18n [FIX] report_webkit: multiple misspellings of wkhtmltopdf 2015-02-20 11:16:13 +01:00
ir [FIX] ir.ui.view: qweb translations: allow looking up translation in parent template 2015-02-24 14:01:34 +01:00
module [Fix] Some missed frontend openerp to odoo changes 2015-01-12 16:17:12 +01:00
report [REF] OpenERP --> Odoo in various UI texts (2) 2014-07-18 14:59:38 +02:00
res [FIX] base: Address must stay readonly when field use_parent_address is checked 2015-02-13 11:35:00 +01:00
rng [ADD] views documentation 2014-08-28 15:02:33 +02:00
security [FIX] base, mail: access to ir.config_parameter is now handled by by 2014-08-29 12:01:50 +02:00
static [FIX] openerp: fixed stretching of module icons in kanban view 2015-02-24 13:45:23 +01:00
tests [FIX] models: inherited fields must be copied iff their original field is copied 2015-02-11 12:23:11 +01:00
workflow [IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR) 2014-08-05 12:26:28 +02:00
__init__.py [FIX] nonsensical import? 2014-03-10 10:59:18 +01:00
__openerp__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
base.sql [FIX] Size for icon field of ir_module_module table in base.sql 2014-09-04 01:46:44 +02:00
base_data.xml [Fix] Some missed frontend openerp to odoo changes 2015-01-12 16:17:12 +01:00
base_demo.xml [IMP] account: better fix than edbd0df for reconciliation test 2015-01-05 11:30:49 +01:00
base_menu.xml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00