odoo/openerp/addons/base/ir
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
..
__init__.py [IMP] Add the ir_logging object where we will store the log messages (exception, error and warning) 2014-02-28 17:10:55 +01:00
ir_actions.py [FIX] base: ambiguous @required for `name` of ir.actions subclasses 2015-02-20 12:24:49 +01:00
ir_actions.xml [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
ir_attachment.py [FIX] base: attachment security for SUPERUSER 2015-01-30 15:31:36 +01:00
ir_attachment_view.xml Merge pull request #272 from odoo-dev/master-inline-searchview-ged 2014-06-12 16:27:11 +02:00
ir_config_parameter.py [IMP] ir.config.parameters: support group-based access control 2014-06-26 16:27:24 +02:00
ir_config_parameter_view.xml [IMP] ir.config.parameters: support group-based access control 2014-06-26 16:27:24 +02:00
ir_cron.py [MERGE] forward port of branch saas-3 up to fe8106f 2014-09-26 12:53:59 +02:00
ir_cron_view.xml [IMP] menuitems cleanups 2014-06-28 17:32:01 +02:00
ir_default.py [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
ir_exports.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
ir_fields.py [IMP] use model._fields instead of model._all_columns to cover all fields 2014-11-04 13:47:57 +01:00
ir_filters.py [IMP] ir.filters: new filters are local to the menu/action by default 2014-07-01 03:29:05 +02:00
ir_filters.xml [IMP] ir.filters: new filters are local to the menu/action by default 2014-07-01 03:29:05 +02:00
ir_http.py [IMP] ir_http: authentification method can redirect to an other page 2015-01-19 13:44:25 +01:00
ir_logging.py [IMP] ir.logging: add index on dbname/type, important with high number of log lines 2014-07-25 10:46:12 +02:00
ir_logging_view.xml [IMP] menuitems cleanups 2014-06-28 17:32:01 +02:00
ir_mail_server.py [MERGE] Forward-port latest saas-3 bugfixes, up to c9b690f6b6 2015-01-29 13:54:13 +01:00
ir_mail_server_view.xml Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
ir_model.py [FIX] ir.model.data: cleanup _process_end() 2015-02-19 14:01:49 +01:00
ir_model_report.sxw fix res_group rename, move files to clean up res 2013-10-06 17:03:09 +02:00
ir_model_report.xml fix res_group rename, move files to clean up res 2013-10-06 17:03:09 +02:00
ir_model_view.xml [IMP] menuitems cleanups 2014-06-28 17:32:01 +02:00
ir_needaction.py [MERGE] From trunk (second time) 2012-12-17 15:47:53 +01:00
ir_qweb.py [IMP] qweb: Allow to propagate value to variables outside the loop. 2015-01-30 14:26:48 +01:00
ir_qweb.xml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
ir_rule.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
ir_rule_view.xml Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
ir_sequence.py [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
ir_sequence_view.xml Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
ir_translation.py [FIX] ir.ui.view: qweb translations: allow looking up translation in parent template 2015-02-24 14:01:34 +01:00
ir_translation_view.xml [ADD] views documentation 2014-08-28 15:02:33 +02:00
ir_ui_menu.py [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
ir_ui_menu_view.xml [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
ir_ui_view.py [FIX] ir.ui.view: qweb translations: allow looking up translation in parent template 2015-02-24 14:01:34 +01:00
ir_ui_view_view.xml [IMP] base: show "mode" in ir.ui.view form view 2014-12-09 19:49:50 +01:00
ir_values.py [IMP] use model._fields instead of model._all_columns to cover all fields 2014-11-04 13:47:57 +01:00
ir_values_view.xml Merge pull request #272 from odoo-dev/master-inline-searchview-ged 2014-06-12 16:27:11 +02:00
osv_memory_autovacuum.py [FIX]Autovacuum force true 2013-01-21 16:03:18 +01:00
osv_memory_autovacuum.xml [FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files 2012-10-13 14:09:24 +02:00