[FIX] account_voucher: fix typo in journal_id type
This commit is contained in:
parent
ea05a21938
commit
b9c4bb6b6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue