[FIX] account_payment when importing payment lines (currency not set correctly)
lp bug: https://launchpad.net/bugs/428926 fixed bzr revid: joel.grandguillaume@camptocamp.com-20091102082918-udyj4yyr408myiqq
This commit is contained in:
@@ -95,6 +95,7 @@ def create_payment(self, cr, uid, data, context):
|
||||
'partner_id': line.partner_id and line.partner_id.id or False,
|
||||
'communication': line.ref or '/',
|
||||
'date': date_to_pay,
|
||||
'currency': line.invoice and line.invoice.currency_id.id or False,
|
||||
}, context=context)
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user