From bd1438f301d4d10c29dc43e778103286c0a08913 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Fri, 1 Feb 2013 08:30:39 +0100 Subject: [PATCH] [REF] small reindent of patch --- account_statement_ext/statement.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/account_statement_ext/statement.py b/account_statement_ext/statement.py index 6940d16a..965957bd 100644 --- a/account_statement_ext/statement.py +++ b/account_statement_ext/statement.py @@ -569,9 +569,10 @@ class AccountBankSatementLine(Model): type = 'customer' res_type = self.onchange_type(cr, uid, ids, partner_id, type, profile_id, context=context) # Chg if res_type['value'] and res_type['value'].get('account_id', False): - return {'value': {'type': type, 'account_id': res_type['value']['account_id'], + return {'value': {'type': type, + 'account_id': res_type['value']['account_id'], 'voucher_id': False}} - return {'value': {'type': type}} + return {'value': {'type': type}} def onchange_type(self, cr, uid, line_id, partner_id, type, profile_id, context=None): """