From c4fed05926b5889886375edc7e82126533cc8db6 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Mon, 21 Nov 2022 15:13:06 +0100 Subject: [PATCH] [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. --- rma_sale/tests/test_rma_stock_account_sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rma_sale/tests/test_rma_stock_account_sale.py b/rma_sale/tests/test_rma_stock_account_sale.py index 07eca91f..4b30aed3 100644 --- a/rma_sale/tests/test_rma_stock_account_sale.py +++ b/rma_sale/tests/test_rma_stock_account_sale.py @@ -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" )