[FIX] account_voucher: fix typo in journal_id type

This commit is contained in:
Somesh Khare 2014-08-07 16:57:23 +02:00 committed by Martin Trigaux
parent ea05a21938
commit b9c4bb6b6c
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class account_statement_from_invoice_lines(osv.osv_memory):
if line.journal_id.type in ('sale', 'sale_refund'):
type = 'customer'
ttype = 'receipt'
elif line.journal_id.type in ('purchase', 'purhcase_refund'):
elif line.journal_id.type in ('purchase', 'purchase_refund'):
type = 'supplier'
ttype = 'payment'
sign = -1