diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py
index 91d8efc72ce..8ab1c6d7ac9 100644
--- a/addons/account/account_bank_statement.py
+++ b/addons/account/account_bank_statement.py
@@ -644,7 +644,7 @@ class account_bank_statement_line(osv.osv):
account_id = part.property_account_receivable.id
res['value']['account_id'] = account_id
- if account_id and (not line or (line and not line[0].amount)):
+ if account_id and (not line or (line and not line[0].amount)) and not context.get('amount', False):
company_currency_id = res_users_obj.browse(cursor, user, user,
context=context).company_id.currency_id.id
if not currency_id:
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 47b675386f6..6643370f0c4 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -538,7 +538,7 @@
-
+