Community mailing list archives

community@mail.odoo.com

Re: Top Main Menu's terms - Translation

by
Martin Trigaux (mat)
- 01/29/2016 04:39:53
On 29/01/16 14:47, info@ygol.com wrote:
> so if I take menu_item in account_menuitem.xml; it seem it is found in
> the .po file but with the term "Accounting". How would I go if I wanted
> to have the "Invoicing" term also in that .po file? I can't replace it
> because when full accounting is selected by the user the system then
> changes that menu item from "Invoicing" to "Accounting".

Indeed, for this menu, you get an issue. As you have noticed, the 
Invoicing menu is renamed Accounting once you have installed full 
accounting.
As the translation of a menu is based on the record reference and not 
the source, there is no proper solution here, you have to force one term 
(you can always configure your translations in Settings > Translations > 
Translated Terms).

-- 
Martin Trigaux
Odoo (Formerly OpenERP)
https://odoo.com
https://github.com/mart-e