[FIX] check partner_id on statement line is defined before browsing further

[FIX] translation typo
This commit is contained in:
Stefan Rijnhart
2012-04-16 09:35:36 +02:00
parent 103cb5daf0
commit 4f554436c0
2 changed files with 2 additions and 2 deletions

View File

@@ -1844,7 +1844,7 @@ class account_bank_statement_line(osv.osv):
# Define the voucher
voucher = {
'journal_id': st_line.statement_id.journal_id.id,
'partner_id': st_line.partner_id.id,
'partner_id': st_line.partner_id and st_line.partner_id.id,
'company_id': st_line.company_id.id,
'type':voucher_type,
'company_id': st_line.company_id.id,

View File

@@ -1192,7 +1192,7 @@ msgstr "remote_owner_custno"
#: view:account.banking.imported.file:0
#: field:account.banking.imported.file,log:0
msgid "Import Log"
msgstr "Impotlog"
msgstr "Importlog"
#. module: account_banking
#: field:banking.import.line,date:0