← Back to team overview

openerp-india team mailing list archive

[Bug 909755] Re: [Trunk/6.0][Sale_layout]Report designer - Cannot open the report based on the Order with layout report

 

Hello,

I have faced the same problem on stable-6 as well as trunk also with following traceback only on with sale_layout module.
For purchase order it's working fine.

[2011-12-30 10:44:26,265][?] ERROR:web-services:[45]:   File "", line 1, in <module>
[2011-12-30 10:44:26,265][?] ERROR:web-services:[46]: NameError: name 'sale_order_lines' is not defined
[2011-12-30 10:44:26,977][?] INFO:werkzeug:127.0.0.1 - - [30/Dec/2011 10:44:26] "POST /xmlrpc/report HTTP/1.0" 500 -
[2011-12-30 10:44:26,999][?] ERROR:werkzeug:Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/werkzeug/serving.py", line 159, in run_wsgi
    execute(app)
  File "/usr/local/lib/python2.6/dist-packages/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/home/amp/workspace/trunk6/server/openerp/wsgi.py", line 398, in application
    result = handler(environ, start_response)
  File "/home/amp/workspace/trunk6/server/openerp/wsgi.py", line 220, in wsgi_xmlrpc_legacy
    return xmlrpc_return(start_response, path, method, params, True)
  File "/home/amp/workspace/trunk6/server/openerp/wsgi.py", line 81, in xmlrpc_return
    response = xmlrpc_handle_exception_legacy(e)
  File "/home/amp/workspace/trunk6/server/openerp/wsgi.py", line 122, in xmlrpc_handle_exception_legacy
    fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found

Thank you!

** Summary changed:

- Report designer - Cannot open the report based on the  Order with layout report
+ [Trunk/6.0][Sale_layout]Report designer - Cannot open the report based on the  Order with layout report

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/909755

Title:
  [Trunk/6.0][Sale_layout]Report designer - Cannot open the report based
  on the  Order with layout report

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  With OpenERP 6.0.3 (on SaaS platform).

  I tried to duplicate the report "Order with layout" but I get an error
  when I tried to open the duplicated one.

  Here is the error I get:
  (<type 'exceptions.NameError'>, NameError("name 'sale_order_lines' is not defined",), <traceback object at 0x7fcf38768908>)

  Step to reproduce the bug:
  - Install the module sale_order_layout and base_report_designer
  - Open OpenOffice writer and select "Modify an existing report"
  - Copy the content of the Sale Order report and paste it in a new document
  - Select the option "Open new report" and choose "Sale Order" in the list
  - Save your report and send it to the server
  - Open the report in OpenERP
  ==> Bug!

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


References