Hi,
Thank you for your reply.
I had a look at the warning module, it does what I need, but only in
on_change() methods. As far as I can see, it doesn't work with create() methods.
In an on_change() I can return
{'value':{}, 'warning':{'title':'warning','message':'Negative margin on this
line'}} and works perfectly.
But while overriding create() I can not return {id,
'warning':{'title':'warning','message':'Negative margin on this line'}}
And that's what I need to do: user enters 'save', computation gets done,
warning appears eventually, but save succeeds anyway.
Best regards,
Jan
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=53708#53708
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users