AttributeError: 'payment.order' object has no attribute 'id'

Bug #538187 reported by sraps (Alistek)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Account Banking Framework
Fix Released
Undecided
Pieter J. Kersten (EduSense BV)

Bug Description

Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.4/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.4/site-packages/openerp-server/service/web_services.py", line 632, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/lib/python2.4/site-packages/openerp-server/service/web_services.py", line 612, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/lib/python2.4/site-packages/openerp-server/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/lib/python2.4/site-packages/openerp-server/wizard/__init__.py", line 82, in execute_cr
    res['action'] = result_def['action'](self, cr, uid, data, context)
  File "/usr/lib/python2.4/site-packages/openerp-server/addons/account_payment/wizard/wizard_pay.py", line 45, in _launch_wizard
    order_ref.set_done(cr,uid,data['id'],context)
  File "/var/openerp-server/custom_addons/account_banking/account_banking.py", line 837, in set_done
    cr.execute("UPDATE payment_line "
AttributeError: 'payment.order' object has no attribute 'id'

"account_banking.py" 842.line should be changed from "self.id" uz "id". Is it so?

Related branches

Changed in account-banking:
status: New → Fix Committed
assignee: nobody → Pieter J. Kersten (EduSense BV) (pieterj)
Changed in account-banking:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.