odoo/openerp
Martin Trigaux d6b26c6890 [FIX] base: almost-duplicated translations ignored during import
Translations are not transfered from temporary table tmp_ir_translation_import
to ir_translation if translation already exists (using `find_expr`).
In case of import of QWeb terms (name = 'website'), the criteria was too weak,
finding already present terms in translations for different modules.
e.g. term "Quantity" is already present in a QWeb view from sale module and was
not imported for the translations of the website_sale module.
Fixed by adding the filter criteria 'irt.module = ti.module'

In case QWeb translations for the same term in the same modules were added in
two imports (second term added in the future), the second was still ignored.
Changed condition to check the res_id for views as well.

Fixes #4239
2014-12-16 14:34:43 +01:00
..
addons [FIX] base: almost-duplicated translations ignored during import 2014-12-16 14:34:43 +01:00
cli [FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update 2014-10-24 16:24:50 +02:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [IMP] module/loading: do not try to load module graph when nothing to load 2014-12-15 14:51:18 +01:00
osv [MERGE] forward port of branch 7.0 up to 284ca73 2014-12-08 14:57:21 +01:00
report [MERGE] forward port of branch saas-3 up to c89d1a0 2014-10-23 13:08:44 +02:00
service [ADD] doc: setup documentation 2014-12-15 16:01:37 +01:00
tests [FIX] tests: make self.assertRaises() return the expected object 2014-11-17 15:39:14 +01:00
tools Reintroduce fname kwarg in configmanager 2014-12-16 12:54:16 +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
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
api.py Merge pull request #3645 from odoo-dev/8.0-fix2manyupdateonchanges-chs 2014-11-25 12:42:36 +01:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [FIX] fields: make sure fields are set up before using them 2014-12-11 10:12:46 +01:00
http.py [IMP] http.py: allow @route decorator to pass extra arguments to created werkzeug.routing.Rule 2014-12-12 19:34:31 +01:00
import_xml.rng [MERGE] ir-ui-view split active and show_customize 2014-08-31 16:56:44 +02:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
models.py [FIX] models: typos 2014-12-11 12:43:47 +01:00
netsvc.py [FIX] Packaging: Wndows: wrong handler used when logging to file 2014-09-19 11:17:13 +02:00
pooler.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
release.py [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
sql_db.py [FIX] sql_db: don't log dsn with unmasked passwords 2014-10-28 14:49:57 +01:00