[14.0][FIX] account_tax_balance: init hook refund confusion

pull/837/head
Stefan Rijnhart 2021-03-30 15:38:11 +02:00 committed by Valentin Vinagre Urteaga
parent f2b4750483
commit d75f3044e7
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ def pre_init_hook(cr):
("liquidity", "liquidity", False),
("payable", "payable", "AND aml.balance < 0"),
("payable_refund", "payable", "AND aml.balance >= 0"),
("receivable", "receivable", "AND aml.balance < 0"),
("receivable_refund", "receivable", "AND aml.balance >= 0"),
("receivable", "receivable", "AND aml.balance > 0"),
("receivable_refund", "receivable", "AND aml.balance <= 0"),
("other", False, False),
]
for financial_type, internal_type, extra_where in MAPPING: