openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27848
[Bug 1204050] Re: [7.0] 'unreconcile entries' from 'account.move.reconcile' raises exception
Hello Denis,
I suppose you are not affected with the issue mentioned in this bug as
this bug was caused when the user tries unreconcile the entries from
'account.move.reconcile' object.
You mentioned that you faced this issue when canceling the voucher, this
issue is different than this one and was fixed in github v7 branch by
the commit
https://github.com/odoo/odoo/commit/8f0392b49099eaca6f4c5cdd0931da0821d73865.
In this case, the traceback would be slightly different than the
mentioned in this bug, something like below,
File "/opt/openerp/server/openerp/addons/account_voucher/account_voucher.py", line 963, in cancel_voucher
reconcile_pool.unlink(cr, uid, [line.reconcile_id.id])
File "/opt/openerp/server/openerp/addons/account/account.py", line 1649, in unlink
if move_rec.opening_reconciliation:
File "/opt/openerp/server/openerp/osv/orm.py", line 504, in __getattr__
raise AttributeError(e)
AttributeError: 'Field opening_reconciliation not found in browse_record(account.move.reconcile, 4458)'
For the information, a fix was merged for this usability bug as well by
mean of PR https://github.com/odoo/odoo/pull/565. So, I am changing the
status of this bug to Fix Release.
Would you double check it and let me know if I missed something.
Thanks.
** Changed in: openobject-addons
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to Odoo Addons.
https://bugs.launchpad.net/bugs/1204050
Title:
[7.0] 'unreconcile entries' from 'account.move.reconcile' raises
exception
Status in Odoo Addons:
Fix Released
Bug description:
openobject-addons revno 9309
steps:
- create a new invoice and pay it
- go to 'payments' tab and open the journal item
- go to 'Reconcile' field and open it
- run 'unreconcile entries' wizard
get
Client Traceback (most recent call last):
File "/home/elbati/workspace/openerp/7.0/web/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/home/elbati/workspace/openerp/7.0/web/addons/web/controllers/main.py", line 1128, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/home/elbati/workspace/openerp/7.0/web/addons/web/controllers/main.py", line 1112, in _call_kw
names = dict(req.session.model(model).name_get(args[0], **kwargs))
File "/home/elbati/workspace/openerp/7.0/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 "/home/elbati/workspace/openerp/7.0/web/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/elbati/workspace/openerp/7.0/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 "/home/elbati/workspace/openerp/7.0/web/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/elbati/workspace/openerp/7.0/server/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/elbati/workspace/openerp/7.0/server/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/elbati/workspace/openerp/7.0/addons/account/account.py", line 1726, in name_get
result.append((r.id,r.name))
File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/orm.py", line 486, in __getattr__
raise AttributeError(e)
AttributeError: 'Field name not found in browse_record(account.move.reconcile, 4)'
Notwithstanding this, journal items are actually unreconciled
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1204050/+subscriptions
References