← Back to team overview

credativ team mailing list archive

[Bug 904671] [NEW] Import Payment lines wizard is not working

 

Public bug reported:

Trunk

install account_payment

1. accounting > bank and cash > bank statements

2. click on import payment line button

3. create one entry for populate statement and click on add

it will give an error.


Traceback (most recent call last):
  File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/turkesh/Desktop/rdtools/addons/trunk/account_payment/wizard/account_payment_populate_statement.py", line 79, in populate_statement
    result = voucher_obj.onchange_partner_id(cr, uid, [], partner_id=line.partner_id.id, journal_id=statement.journal_id.id, price=abs(amount), voucher_currency_id= statement.currency.id, ttype='payment', date=line.ml_maturity_date, context=context)
TypeError: onchange_partner_id() got an unexpected keyword argument 'price'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/904671

Title:
  Import Payment lines wizard is not working

Status in OpenERP Addons (modules):
  New

Bug description:
  Trunk

  install account_payment

  1. accounting > bank and cash > bank statements

  2. click on import payment line button

  3. create one entry for populate statement and click on add

  it will give an error.


  Traceback (most recent call last):
    File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/turkesh/Desktop/rdtools/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/turkesh/Desktop/rdtools/addons/trunk/account_payment/wizard/account_payment_populate_statement.py", line 79, in populate_statement
      result = voucher_obj.onchange_partner_id(cr, uid, [], partner_id=line.partner_id.id, journal_id=statement.journal_id.id, price=abs(amount), voucher_currency_id= statement.currency.id, ttype='payment', date=line.ml_maturity_date, context=context)
  TypeError: onchange_partner_id() got an unexpected keyword argument 'price'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/904671/+subscriptions


Follow ups

References