mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
Merge pull request #49 from guewen/typo-purchase-refund
Typo in purchase_refund, resulting in a 'general' type instead of 'supplier'
This commit is contained in:
@@ -69,7 +69,7 @@ class AccountStatementFromInvoiceLines(orm.TransientModel):
|
||||
s_type = 'general'
|
||||
if line.journal_id.type in ('sale', 'sale_refund'):
|
||||
s_type = 'customer'
|
||||
elif line.journal_id.type in ('purchase', 'purhcase_refund'):
|
||||
elif line.journal_id.type in ('purchase', 'purchase_refund'):
|
||||
s_type = 'supplier'
|
||||
vals = self._prepare_statement_line_vals(
|
||||
cr, uid, line, s_type, statement_id, amount, context=ctx)
|
||||
|
||||
Reference in New Issue
Block a user