From a36562be7b8458e2e5cfb5c8b7184f00db19ed91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 24 Mar 2019 18:00:01 +0100 Subject: [PATCH] Merge account kind and account type issue4990 review68401002 --- tests/test_stock_supply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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([{