Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Translation for computed fields does not work (8.0)

by
Pedro M. Baeza
- 10/22/2014 07:05:05
No, in both cases it works without _() function. This is only for translated texts inside the code, not for labels. This methos is working for me, so please check another things (new DB with fresh module installation, for example).

Regards.

2014-10-22 13:02 GMT+02:00 Maxim Litnitskiy <litnimaxster@gmail.com>:
No this does not work.


+04:00 Pedro Manuel Baeza Romero <pedro.baeza@gmail.com>:
Yo have to put only:

state = fields.Html(compute='_get_state', string='State')


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe