Just a thought... since I realized what you were trying to do after rereading.
Why not set an object variable and, if the user trips over the condition you are looking for test for true, the set to false and raise osv.osv_except. It will be false the second time around and won't trigger the exception. I'm not sure it would work as I haven't tried this myself. -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=53929#53929 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users