Ignore default account when creating category for test

issue10837
This commit is contained in:
Cédric Krier
2021-10-07 15:18:37 +02:00
parent 7a1367d664
commit 73c078daba
+2 -1
View File
@@ -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()