← Back to team overview

openerp-community team mailing list archive

Re: lp:~openerp-community/openobject-server/stefan-therp_lp891592-6.1 into lp:openobject-server

 

On 11/17/2011 02:21 PM, Vo Minh Thu (OpenERP) wrote:
> This was already proposed and rejected.

To elaborate a little bit, this was considered dangerous because:
- most existing constraints do not take a context parameter (logically)
- but most importantly, allowing constraints to be context-dependent
seems wrong, and would encourage bad design practices

It should also not be needed for translation purposes, since the error
message is already translated by the ORM (or can be a callable that
*will* receive the context).

-- 
https://code.launchpad.net/~openerp-community/openobject-server/stefan-therp_lp891592-6.1/+merge/82529
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-server/stefan-therp_lp891592-6.1.


Follow ups

References