← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691523] Re: [trunk] Impossible to configure Warehouse management

 

Hello Quentin,

I have checked your bug specification at my end but i am not able to reproduced it.
Would you please provide more information with proper steps.

Thanks.


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

-- 
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/691523

Title:
  [trunk] Impossible to configure Warehouse management

Status in OpenObject Addons Modules:
  Incomplete

Bug description:
  Revno 4028

The creation of a new database works fine, when I try to install Warehouse management, an error occurs with this traceback :

Traceback (most recent call last):
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/base/res/res_config.py", line 166, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/base/res/res_config.py", line 397, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/__init__.py", line 865, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/__init__.py", line 742, in load_module_graph
    load_demo_xml(cr, m, idref, mode)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/__init__.py", line 648, in load_demo_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/tools/convert.py", line 968, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/tools/convert.py", line 861, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/tools/convert.py", line 828, in _tag_record
    id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/base/ir/ir_model.py", line 500, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/orm.py", line 3757, in create
    self._validate(cr, user, [id_new], context)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/orm.py", line 1055, in _validate
    if not fun(self, cr, uid, ids):
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/addons/product/product.py", line 501, in _check_ean_key
    res = check_ean(product.ean13)
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/orm.py", line 278, in __getattr__
    return self[name]
  File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/osv/orm.py", line 203, in __getitem__
    field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
TypeError: read() got multiple values for keyword argument 'context'





References