diff --git a/tests/test_stock_supply.py b/tests/test_stock_supply.py index 68a9beb29c..fd8c5cc38c 100644 --- a/tests/test_stock_supply.py +++ b/tests/test_stock_supply.py @@ -98,11 +98,11 @@ class StockSupplyTestCase(ModuleTestCase): with set_company(company): create_chart(company) receivable, = Account.search([ - ('kind', '=', 'receivable'), + ('type.receivable', '=', True), ('company', '=', company.id), ]) payable, = Account.search([ - ('kind', '=', 'payable'), + ('type.payable', '=', True), ('company', '=', company.id), ]) supplier, = Party.create([{