Odoo Help


Translations of sql_contraints messages are failing?

Alexei R. Acosta
on 5/29/15, 11:24 AM 716 views

What's happening with translations of sql_constraints messages? Is there a bug or I'm missing somethig, some configuration maybe? In generated .po are present all sql_constraints messages, but they aren't displayed translated. Why? Is there any one with the same problem? I'm translating to Spanish language. I detected this problem since i'm using odoo v8, because in openerp v7 there aren't any problem. In other hand, messages from python code, from constraints functions everything is working fine!! Here is one example of part of my code: _sql_constraints = [('name_uniq', 'unique(name)', 'The name must be unique!')] and in .po file: #. module: worker #: sql_constraint:pig.area:0 msgid "The name must be unique!" msgstr "¡El nombre debe ser único!" Thanks in advanced. Regards

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/29/15, 11:24 AM
Seen: 716 times
Last updated: 5/29/15, 12:22 PM