Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6578 Widoki

Every time I try to edit a product's quantity from the product menu (clicking "update" in the inventory tab) I get this 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/addons/stock/wizard/stock_change_product_qty.py", line 70, in default_get res.update({'location_id': location_id and location_id.id or False}) AttributeError: 'int' object has no attribute 'id'

I did not get this error before, and I have not edited any code or database that would change they way this feature performs. I've attempted to create an entirely new OpenERP server, and continue to get the error.

Awatar
Odrzuć

Please try with latest code. It's not giving any error.

Autor

I just set up this OpenERP install yesterday. The one I've had for a month or so is giving me no problems, but the new code is.

Hey Matthew, have you solved this problem? I'm getting the same error.... cheers from Brazil

Are you using the openlabs magento connector?

Anyone a solution for this error?

Autor

I wound up wiping the whole installation and re-installing from scratch, and it fixed it. I'm afraid I don't know any more information, I never did find out what caused it.

Najlepsza odpowiedź

Hey Matthew, have you solved this problem? I'm getting the same error.... cheers from Brazil

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 24
4012
0
lis 23
1870
1
wrz 15
8372
0
maj 15
3610
2
mar 15
8056