openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00278
Re: soft coded constraints
On Wednesday 28 April 2010, Ferdinand Gassauer wrote:
> https://blueprints.launchpad.net/openobject-server/+spec/constraints-extens
> ion
>
> any comments on this ?
>
That's interesting. I would only cross-check that this mechanism will not add
any significant overhead.
On another note, it may just be that Postgres constraints can also be seen
through a table/view, so that this module can access them. If done so (with
some postgres magic), we could expose those fast constraints to the UI and
thus configuration.
On a sidenote, shouldn't constraint failures result in a custom Exception,
like 'osv_constraint_fail', so that we can handle them better at higher level?
Follow ups
References