The report "report.stock.picking.list" already exists

Bug #890576 reported by Aline (OpenERP)
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

hello, i get a bug that is difficult to reproduce. I will try to report is as complete as possible.

My configuration info :
- i used web client
- chrome 14.0.835.202

Database info :
- i opened 2 local servers (i found it by testing edi but it is not linked to the branch :-;). One in the port 9069 and the other in 8069.
- i opened the web client as addons, in the server

How to reproduce :
 1/ create a db in 9069 and install sales -> it should works
 2/ stay conencted in this db
 3/ create a new db in 8069
 4/ install sales in this db

bug :

Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 792, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 788, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
    *args)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
    raise fault

Server Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/aline/source/server/trunk/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/home/aline/source/server/trunk/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 336, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 251, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/home/aline/source/server/trunk/openerp/modules/loading.py", line 164, in load_module_graph
    register_module_classes(package.name)
  File "/home/aline/source/server/trunk/openerp/modules/module.py", line 334, in register_module_classes
    __import__(m)
  File "/home/aline/source/addons/trunk-edi-review-hmo/stock/__init__.py", line 25, in <module>
    import report
  File "/home/aline/source/addons/trunk-edi-review-hmo/stock/report/__init__.py", line 23, in <module>
    import picking
  File "/home/aline/source/addons/trunk-edi-review-hmo/stock/report/picking.py", line 41, in <module>
    report_sxw.report_sxw('report.stock.picking.list','stock.picking','addons/stock/report/picking.rml',parser=picking)
  File "/home/aline/source/server/trunk/openerp/report/report_sxw.py", line 380, in __init__
    report_rml.__init__(self, name, table, rml, '')
  File "/home/aline/source/server/trunk/openerp/report/interface.py", line 66, in __init__
    super(report_rml, self).__init__(name)
  File "/home/aline/source/server/trunk/openerp/report/interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.stock.picking.list" already exists!

description: updated
affects: openerp-web → openobject-server
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Aline

I have checked your issue with trunk. First ,I have create one db in 7777 and install sale successfully Installed.
Secondly I have create db in 8069 and install sale successfully installed.

Would you please checked with update code of trunk.

Thanks and waiting for your reply.

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Server because there has been no activity for 60 days.]

Changed in openobject-server:
status: Incomplete → Expired
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Aline,

Would you please try with the latest updated code.

If you still face the problem then you can reopen this with more information.

Thanks.

Changed in openobject-server:
status: Expired → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.