← Back to team overview

openerp-india team mailing list archive

[Bug 881884] [NEW] raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard

 

You have been subscribed to a public bug:

This is my first bug report so if i'm doing something wrong,i'm sorry
and i will take a mental note for next time:

On ubuntu 10.4 in both 6.0.1 and 6.0.3  (same custom module installed on
both) using the web client (not tested in gtk)

I have a osv_memory wizard in a custom module;when a button that calls a
function is clicked it runs the code and if it should encounter a raise
osv.except_osv('Error','Message') displays it just fine.But if that
first button should not encounter an error and reload the view (and also
save the object to my knowledge) any subsequent call to any other
function that has an osv except error doesn't pop up the message
anymore.It does indeed stop the script in it's tracks, but i cannot see
the message anymore and i can surely say it hits the command since i've
used pdb to print an error message along with the raise error, if any
other information is required i will report it back gladly! Cheers

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
raise osv.except_osv('Error','Message') stops working in second stage of osv_memory wizard
https://bugs.launchpad.net/bugs/881884
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server.


References