From 62b6c4f96b2e27eb164ab474a2f46e3a6a3afd5b Mon Sep 17 00:00:00 2001
From: "Pieter J. Kersten"
Date: Fri, 29 Jan 2010 11:17:35 +0100
Subject: [PATCH] [FIX] exception when partner not found
---
account_banking/wizard/bank_import.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/account_banking/wizard/bank_import.py b/account_banking/wizard/bank_import.py
index 75888564c..fb1d8266a 100644
--- a/account_banking/wizard/bank_import.py
+++ b/account_banking/wizard/bank_import.py
@@ -379,6 +379,7 @@ def _banking_import_statements_file(self, cursor, uid, data, context):
)
else:
partner_id = False
+ partner_bank_id = False
# Link accounting period
period_id = get_period(pool, cursor, uid,