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()