summaryrefslogtreecommitdiff
path: root/addons/account_payment/wizard/account_payment_populate_statement.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account_payment/wizard/account_payment_populate_statement.py')
-rw-r--r--addons/account_payment/wizard/account_payment_populate_statement.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account_payment/wizard/account_payment_populate_statement.py b/addons/account_payment/wizard/account_payment_populate_statement.py
index 92b1b1452f5..d85f20d8637 100644
--- a/addons/account_payment/wizard/account_payment_populate_statement.py
+++ b/addons/account_payment/wizard/account_payment_populate_statement.py
@@ -92,6 +92,7 @@ class account_payment_populate_statement(osv.osv_memory):
'date': line.date or time.strftime('%Y-%m-%d'),
'amount': abs(amount),
'period_id': statement.period_id.id,
+ 'payment_rate_currency_id': statement.currency.id,
}
voucher_id = voucher_obj.create(cr, uid, voucher_res, context=context)