odoo/openerp/addons/base/ir
Martin Trigaux 1f07b9429c [FIX] base: update translations should not duplicate the terms
When a translated term is modified (e.g. content of an email.template),
reloading the translations of the module (e.g. when updating the module) used to
recreate a new, duplicare translation for the modified term (instead of ignoring
the existing one).

This was due to the fact the matching expression (find_expr), when loading
translations, used the field 'src' (source term) as criteria for (almost) all
ir.translation records.

While this is true for type 'code' or 'selection', this is not true for 'model'
where the source content may have been changed.
In case of translation of type 'model', matching on the name and res_id should be
enough for the matching expression and then, avoid creating duplicated
translations.

Note: this patch must NOT be present in 9.0 due to the xml_translate
attribute that splits an xml content into small parts.

opw 654031
2015-11-30 16:41:56 +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 [IMP] base: timezone handling in server actions. 2015-11-12 12:23:27 +01:00
ir_actions.xml [REF] OpenERP --> Odoo in various UI texts 2014-07-18 13:45:41 +02:00
ir_attachment.py [FIX] osv: binary size already in human format 2015-07-07 19:17:43 +02: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] models: sanitize error messages in import 2015-07-01 17:04:48 +02:00
ir_filters.py [MERGE] forward port of branch saas-3 up to ce69064 2015-03-26 18:00:06 +01: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 [FIX] web: _serve_attachment should not trigger redirect loops 2015-08-17 17:01:19 +02: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 of branch saas-3 up to 59d82e6 2015-04-07 14:08:15 +02: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] models: custom models must add the table/column in database 2015-11-27 13:58:28 +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 [FIX] models: custom fields seen as base fields 2015-11-26 15:44:29 +01:00
ir_needaction.py [MERGE] From trunk (second time) 2012-12-17 15:47:53 +01:00
ir_qweb.py [FIX] website,ir_qweb: prevent inherit_branding for assets 2015-11-23 17:01:03 +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 [FIX] point_of_sale,base: use context timezone for sequence 2015-08-25 14:08:17 +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] base: update translations should not duplicate the terms 2015-11-30 16:41:56 +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] base: do not validate deactived custom views 2015-09-22 15:33:01 +02: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