c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35822
[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
-
[Bug 881884] Re: raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Wiz_KeeD, 2011-11-03
-
[Bug 881884] Re: raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Wiz_KeeD, 2011-10-28
-
[Bug 881884] [NEW] raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Launchpad Bug Tracker, 2011-10-28
-
[Bug 881884] Re: raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Wiz_KeeD, 2011-10-27
-
[Bug 881884] Re: raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Xavier (Open ERP), 2011-10-27
-
[Bug 881884] Re: raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Wiz_KeeD, 2011-10-26
-
[Bug 881884] [NEW] raise osv.except_osv('Error', 'Message') stops working in second stage of osv_memory wizard
From: Wiz_KeeD, 2011-10-26
References