← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 741606] Re: v6 ImportError: cannot import name test_reports

 

Hello Gem,

I have checked this bug with latest updated code in both environment
(windows and linux) and this bug is not producible any more. Would you
please check this again with latest code and notify me.

Currently I am setting this bug status as fix released, You can reopen
this again If you will steel face same traceback again with revision
detail.

Thanks.

** Changed in: openobject-server
       Status: Confirmed => Fix Released

** Changed in: openobject-server
     Assignee: OpenERP's Framework R&D (openerp-dev-framework) => (unassigned)

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

Title:
  v6 ImportError: cannot import name test_reports

Status in OpenERP Server:
  Fix Released

Bug description:
  Hi,
  there is 2 months I open a bug which has been declared as duplicate of an other, but the problem is it is not the same bug, if you read the title it is explained :
  https://bugs.launchpad.net/openobject-server/+bug/707870?comments=all

  There is actually 11 errors in my server log see attachment.

  I find a solution in my previous bug report and has not be tested/seen to solve the problem :
  just adding double quotes for lines by example :

  I tested with product/test/product_report.yml :
  "from tools import test_reports"
  "test_reports.try_report_action(cr, uid, 'action_product_price_list',wiz_data=data_dict, context=ctx, our_module='product')"

  and there is not error in logs like actually :
  [2011-03-24 10:57:13,558][admin] ERROR:tests.product:cannot import name test_reports
  Traceback (most recent call last):
    File "tools\yaml_import.pyo", line 729, in process
    File "tools\yaml_import.pyo", line 744, in _process_node
    File "tools\yaml_import.pyo", line 414, in process_python
    File "d:\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module>
  ImportError: cannot import name test_reports

  Bye


References