[FIX] l10n_ch: kwargs fix

bzr revid: qdp-launchpad@openerp.com-20111208083034-lkvwxbv1xw0s9eps
This commit is contained in:
Quentin (OpenERP) 2011-12-08 09:30:34 +01:00
parent 22fb18bcbf
commit ebac9ace6e
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def _import(self, cursor, user, data, context=None):
# line2reconcile = line.id
account_id = line.account_id.id
break
result = voucher_obj.onchange_partner_id(cursor, user, [], partner_id, journal_id=statement.journal_id.id, price=abs(record['amount']), currency_id= statement.currency.id, ttype='receipt', date=statement.date ,context=context)
result = voucher_obj.onchange_partner_id(cursor, user, [], partner_id, journal_id=statement.journal_id.id, amount=abs(record['amount']), currency_id= statement.currency.id, ttype='receipt', date=statement.date ,context=context)
voucher_res = { 'type': 'receipt' ,
'name': values['name'],