openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15948
[Bug 1054489] Re: When editing accounting move getting errors
By the way this problem faced on only web client.
--
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/1054489
Title:
When editing accounting move getting errors
Status in OpenERP Addons (modules):
New
Bug description:
I'm testing 6.1 version with fresh code from launchpad.
1. Go to Accounting/Journal Entries/Journal Entries.
2. Create new accounting move with two sample lines.
3. Save new record.
4. Click Edit button
5. click on any entry line and choose currency then press ENTER.
6. You will be faced following errors.
Note: I didn't do anything customization.
OpenERP Server Error
Client Traceback (most recent call last):
File "/home/jacara/workspace/launchpad/web/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/jacara/workspace/launchpad/web/addons/web/controllers/main.py", line 1032, in onchange
result = self.call_common(req, model, method, args, context_id=context_id)
File "/home/jacara/workspace/launchpad/web/addons/web/controllers/main.py", line 996, in call_common
return self._call_kw(req, model, method, args, {})
File "/home/jacara/workspace/launchpad/web/addons/web/controllers/main.py", line 1010, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/jacara/workspace/launchpad/web/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/home/jacara/workspace/launchpad/web/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/jacara/workspace/launchpad/web/addons/web/common/http.py", line 608, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/jacara/workspace/launchpad/web/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/jacara/workspace/launchpad/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/jacara/workspace/launchpad/server/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/jacara/workspace/launchpad/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/jacara/workspace/launchpad/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jacara/workspace/launchpad/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jacara/workspace/launchpad/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/jacara/workspace/launchpad/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jacara/workspace/launchpad/addons/account/account.py", line 1372, in onchange_line_id
balance += (line[2]['debit'] or 0.00)- (line[2]['credit'] or 0.00)
KeyError: 'debit'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1054489/+subscriptions
References