diff --git a/addons/account_voucher/wizard/account_statement_from_invoice.py b/addons/account_voucher/wizard/account_statement_from_invoice.py index 289a110fdbd..4644bdee62d 100644 --- a/addons/account_voucher/wizard/account_statement_from_invoice.py +++ b/addons/account_voucher/wizard/account_statement_from_invoice.py @@ -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