[FIX] include anglo-saxon price unit calculation in refunds.

Otherwise the anglo saxon entries won't be correct.
For example, the Interim (Delivered) account should balance
after receiving and triggering a refund on a customer rma.
This commit is contained in:
Jordi Ballester Alomar
2022-11-21 15:13:06 +01:00
parent c93de8e0f8
commit c4fed05926

View File

@@ -70,5 +70,5 @@ class TestRmaStockAccountSale(TestRmaStockAccount):
# Test the accounts used
account_move = picking.move_lines.stock_valuation_layer_ids.account_move_id
self.check_accounts_used(
account_move, debit_account="inventory", credit_account="cogs"
account_move, debit_account="inventory", credit_account="gdni"
)