[6.1] exception from report not shown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hello,
Some error aren't displayed in web client but are shown in GTK client.
Here is how to reproduce:
- Install a new DB with demo data.
- Install package eInvoicing & Payments
- Go in accounting -> Customer Invoice
--> Open Agrolait's invoice
- Try to print the report BVR Invoice
Result it does nothing... It must show the error to the user.
In server trace I can read :
[2012-01-16 15:55:31,419][?] INFO:werkzeug:
No LSB modules are available.
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,595][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,596][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,597][?] ERROR:web-
[2012-01-16 15:55:31,757][?] INFO:werkzeug:
[2012-01-16 15:55:31,761][?] ERROR:werkzeug:
Traceback (most recent call last):
File "/usr/local/
execute(app)
File "/usr/local/
application
File ".../server/
result = handler(environ, start_response)
File ".../openerp-
return self.dispatch(
File "/usr/local/
return self.app(environ, start_response)
File ".../openerp-
result = handler( request, self.config)
File ".../openerp-
return HttpRequest(
File ".../openerp-
r = method(controller, self, **self.params)
File ".../openerp-
req.
File ".../openerp-
result = self.connector.
File ".../openerp-
raise fault
Fault: <Fault warning -- UserError
No bank specified on invoice:
CI: V11 invoice: ''>
In GTK client everything is fine as an error is corectly poped
It is needed to show to the web user the error that is raised.
Regards,
Yannick
Related branches
Changed in openerp-web: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Issue should be fixed in trunk as of revision <email address hidden>
report errors should now yield the same nicely formatted dialogs as other RPC errors.