You want a check restraint if you are doing it in the db, but you should prolly not go around the erp platform.
You could use on_change in oerp and give meaningful help to the user instead. Anyhow: http://www.postgresql.org/docs/8.1/static/ddl-constraints.html ------------------------ Regards, Paul Evans -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=40668#40668 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
