To be more explicit, use a SQL 'check' constraint. Programmatically, this is done by defining the '_sql_constraint' attribute in the Python class corresponding to the PostgreSQL table. Further information on the syntax can be found in PostgreSQL's documentation at:
http://www.postgresql.org/docs/8.3/static/functions-matching.html -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=47229#47229 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
