Community mailing list archives

community@mail.odoo.com

Re: override en_US terms

by
Camptocamp France SAS, Alexandre Fayolle - Camptocamp
- 03/01/2016 03:35:48
On 01/03/2016 09:27, Pedro Manuel Baeza Romero wrote:
> You can make 2 things:
> 
>   * Inherit the model and redeclare the field with a new string, and
>     then you control both the source and the translations.
>   * Create a en_US.po file with the new term and put it on the original
>     module.

Option 1 is cumbersome, but I agree should work if the number of fields
for which I need to change the translation is not too high (since it's
not just a matter of models, these things tend to creep everywhere
through views etc.)

Regarding option 2, I don't think
https://github.com/odoo/odoo/issues/4246 is fixed in v9, is it?


-- 
Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com