Hey guys!!
Short question here but this thing is driving me crazy:
How can I raise an except_osv exception from my report parser?
I've searched the POS module, there is an example of a classical raise except_osv(...) - I tried it but it doesn't work

Here is what server log shows:
Code:
raise except_osv(_('Error'),_('Currency error!'))
except_osv: ('warning', 'Error')
Long story short: I'm printing an invoice in difference currencies, and in my report parser I'm checking if a currency rate for the invoice date exist. If not - a warning exception should pop up.
Any ideas?
Thanks in advance!
Pavel