openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24846
[Bug 1217146] Re: [trunk/7.0]Create new warehouse crashes
Thank you, I was able to find the fix. However, when installing
purchase module now, the following error is produced:
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/openerp/v7/web/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1132, in call_button
action = self._call_kw(req, model, method, args, {})
File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1120, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/opt/openerp/v7/web/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/opt/openerp/v7/web/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/opt/openerp/v7/web/addons/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/opt/openerp/v7/web/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/v7/server/openerp/addons/base/module/module.py", line 424, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/openerp/v7/server/openerp/addons/base/module/module.py", line 475, in _button_immediate_function
_, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/opt/openerp/v7/server/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module)
File "/opt/openerp/v7/server/openerp/modules/registry.py", line 218, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/v7/server/openerp/modules/loading.py", line 345, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)
File "/opt/openerp/v7/server/openerp/modules/loading.py", line 256, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/openerp/v7/server/openerp/modules/loading.py", line 188, in load_module_graph
load_data(module_name, idref, mode)
File "/opt/openerp/v7/server/openerp/modules/loading.py", line 76, in <lambda>
load_data = lambda *args: _load_data(cr, *args, kind='data')
File "/opt/openerp/v7/server/openerp/modules/loading.py", line 124, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 954, in convert_xml_import
obj.parse(doc.getroot())
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 342, in _tag_function
_eval_xml(self,rec, self.pool, cr, uid, self.idref, context=context)
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 190, in _eval_xml
args = unsafe_eval(a_eval, idref)
File "<string>", line 1, in <module>
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 189, in <lambda>
idref['ref'] = lambda x: self.id_get(cr, x)
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 824, in id_get
res = self.model_id_get(cr, id_str)
File "/opt/openerp/v7/server/openerp/tools/convert.py", line 833, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/opt/openerp/v7/server/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/opt/openerp/v7/server/openerp/tools/cache.py", line 46, in lookup
value = d[key] = self.method(self2, cr, *args)
File "/opt/openerp/v7/server/openerp/addons/base/ir/ir_model.py", line 869, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/opt/openerp/v7/server/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/opt/openerp/v7/server/openerp/tools/cache.py", line 46, in lookup
value = d[key] = self.method(self2, cr, *args)
File "/opt/openerp/v7/server/openerp/addons/base/ir/ir_model.py", line 862, in _get_id
raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: stock.warehouse0
Is this the same issue that is happening with the warehouse module?
--
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/1217146
Title:
[trunk/7.0]Create new warehouse crashes
Status in OpenERP Addons (modules):
Confirmed
Status in OpenERP Stock And Logistic - Warehouse:
New
Status in Warehouse Management System:
New
Bug description:
After posting this in the forms, another user, Ray Carnes has
confirmed this is an issue that the OpenERP team must fix.
It appears that the build from today is broken - trunk addons is
downloaded when you try to download 7.0 addons.
I recently installed a fresh copy of OpenERP 7 on Ubuntu server, and
everything has been working great. However, today, I went into my
warehouse settings, and clicked the option to manage multiple
warehouses. Now, when I go to warehouses ---> configuration --->
warehouses, when I click on create warehouse I receive the following
error popup:
OpenERP Server Error Client Traceback (most recent call last): File
"/opt/openerp/v7/web/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, *self.params) File
"/opt/openerp/v7/web/addons/web/controllers/main.py", line 1128, in
call_kw return self._call_kw(req, model, method, args, kwargs) File
"/opt/openerp/v7/web/addons/web/controllers/main.py", line 1120, in
_call_kw return getattr(req.session.model(model), method)(args,
**kwargs) File "/opt/openerp/v7/web/addons/web/session.py", line 42,
in proxy result = self.proxy.execute_kw(self.session._db,
self.session._uid, self.session._password, self.model, method, args,
kw) File "/opt/openerp/v7/web/addons/web/session.py", line 30, in
proxy_method result = self.session.send(self.service_name, method,
*args) File "/opt/openerp/v7/web/addons/web/session.py", line 103, in
send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last): File
"/opt/openerp/v7/web/addons/web/session.py", line 89, in send return
openerp.netsvc.dispatch_rpc(service_name, method, args) File
"/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method,
params) File "/opt/openerp/v7/server/openerp/service/web_services.py",
line 626, in dispatch res = fn(db, uid, params) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, *kw or {}) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, args, *kwargs) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 197, in execute res
= self.execute_cr(cr, uid, obj, method, args, *kw) File
"/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, args, *kw) File
"/opt/openerp/v7/server/openerp/osv/orm.py", line 1583, in default_get
defaults[f] = self._defaultsf File
"/opt/openerp/v7/server/openerp/addons/stock/stock.py", line 2963, in
_default_lot_output_id return lot_output_id UnboundLocalError: local
variable 'lot_output_id' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1217146/+subscriptions