From 73c078daba658eb64ce08e009f89e44452ae2858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 7 Oct 2021 15:18:37 +0200 Subject: [PATCH] Ignore default account when creating category for test issue10837 --- tests/test_account_product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_account_product.py b/tests/test_account_product.py index 8586f49c6b..5649617c56 100644 --- a/tests/test_account_product.py +++ b/tests/test_account_product.py @@ -53,7 +53,8 @@ class AccountProductTestCase(CompanyTestMixin, ModuleTestCase): # with account on category category = ProductCategory( - name='Category', accounting=True) + name='Category', accounting=True, + account_expense=None) category.save() template.account_category = category template.save()