← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/881884

Title:
  raise osv.except_osv('Error','Message') stops working in second stage
  of osv_memory wizard

Status in OpenERP Server:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/881884/+subscriptions


Follow ups

References