summaryrefslogtreecommitdiff
path: root/addons/account_payment/wizard/account_payment_populate_statement.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-04-27 12:19:43 +0200
committerDenis Ledoux <dle@odoo.com>2015-04-27 12:19:43 +0200
commitd6ae7fb7dbd2ae4eec32e4cd5bc3649feef0784e (patch)
tree59ce4e3e7cc67695b8a84c030bf428076d7c809e /addons/account_payment/wizard/account_payment_populate_statement.py
parent9323f2b4c75d61a4169efceabac08e09f03d6062 (diff)
parent3e7d3c7ee4f8838e0a9c347eca016e746175a634 (diff)
[MERGE] forward port of branch 7.0 up to 3e7d3c7
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)