Comment 3 for bug 660506

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello Jordi,

It's true that it is not necessary to use _( ) in constraints because the ORM translates the constraints automatically when needed.
However you should not worry about it because these calls are in fact evaluated only once when the server starts, outside of any language context, so the _( ) call has no effect.

But you're right, we can remove them :-)