← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715365] Re: account_payment error when adding lines to bank statement

 

** Branch linked: lp:~openerp-commiter/openobject-addons/trunk-dev-
addons3-mtr1

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715365

Title:
  account_payment error when adding lines to bank statement

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  When adding payment lines to the bank statement (via wizard account.payment.populate.statement)
  this error pops up when trying to add the actual lines to the statement.

  Environment Information : 
  System : Linux-2.6.32-28-generic-x86_64-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.2 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-28-generic
  Operating System Version : #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/red15/Documents/Werk/OpenERP/trunk/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/red15/Documents/Werk/OpenERP/trunk/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/red15/Documents/Werk/OpenERP/trunk/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/red15/Documents/Werk/OpenERP/trunk/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/red15/Documents/Werk/OpenERP/trunk/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/red15/Documents/Werk/OpenERP/trunk/addons/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), currency_id= statement.currency.id, ttype='payment', context=context)
  TypeError: onchange_partner_id() takes at least 10 non-keyword arguments (9 given)





References