Guys, how can I do it, I would like to add a message when "if statement" is true or if certain value is reached.
At this moment I have a message but once i click on it to confirm/close popup window it stop/cancel whole operation.
Is there any way to do it and once i click "OK" it will continue/finish the operation ?
Something like 'confirm' but message depending on result of calculation for example.
[code]
if cust > full_stock:
raise Warning(('Attention!'),(My_error_msg_1))
if cust <= full_stock:
raise Warning(('Attention!'),(My_error_msg_2))
self.single(cr, uid, ids, context=context)
if cust > (2.5 * mwos):
raise Warning(('Attention!'),(My_error_msg_3))
self.single(cr, uid, ids, context=context)
[/code]
Any ideas ?
By the way, "POPUP Reminder" ................. nah, do not like it.