You can set attributes on button like type="object" name="your_function_name" it will call function defined to name when button will presed.
or set _constraint = [ '(your_function_name,'Error message',[Field_to_check]) ] ------------------------ -- Regards, Husen Daudi, OpenERP=Easier, Adaptable, Affordable, Modular -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=27337#27337 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
