[7.0] errors on translations generated from localisation template in multilang

Bug #1152011 reported by Frederic Clementi - Camptocamp on 2013-03-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP Publisher's Warranty Team

Bug Description

Hello,

(test done under runbot 7.0 stable today : https://docs.google.com/file/d/0B4GKXfLLiGNtVlM2MkFmekZpWnM/edit?usp=sharing

Translation are wrong when generated from the l10n_ch tax and account template.
l10nch uses the multilang module (dependencies)

How to reproduce :

created a new DB
load the german language
install l10n_ch
set the STERCHI chart of account in the configuration wizard
 go to Accounting / Configuration / tax and check out the german translation (especially the vat % if you do not read german), you will see that tax translation are mixed up
ie :
TVA due a 8.0% (TN) in french --> MwSt. 2,5% auf Einkäufe B&S (USt) ... is wrong
if you have a look in the tax template you see : MwSt. 8,0% auf Einkäufe B&S (NRZ)
 note : there is an other issue with the & but let's ignore it on this bug report

Similare problem for accounts, the german translation is in the account template but I see no translation in the tax.

Thanks

Frederic
Camptocamp

Related branches

any update on this please ?

Changed in openobject-server:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance

Hi Frederic,

The root cause of this issue lies in "l10n_multilang" module where wrong value been set for "res_id"(Record ID) field of "ir_translation" object while copying translation from "Account Tax Template" to "Account Tax" names, which causes problem you pointed out in your video(when clicking on translation flag of "Account Tax" name).

Hence, I am re-assigning this bug to addons branch.

> Similare problem for accounts,

For Accounts, the translation were intentionally not created from "Account Template" names, instead, the account names were replaced in the user's language. That is why you were not able to see the translated terms for "Caisse principale" in your video. You will have your account names in German language if you configure "STERCHI chart of account" with German language set for your user.

Thanks.

affects: openobject-server → openobject-addons
Changed in openobject-addons:
status: New → Fix Committed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers