changeset 520c5e989692 in modules/account_product:default
details: 
https://hg.tryton.org/modules/account_product?cmd=changeset&node=520c5e989692
description:
        Ignore default account when creating category for test

        issue10837
diffstat:

 tests/test_account_product.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 399364eeb545 -r 520c5e989692 tests/test_account_product.py
--- a/tests/test_account_product.py     Wed Jul 21 23:54:13 2021 +0200
+++ b/tests/test_account_product.py     Thu Oct 07 15:18:37 2021 +0200
@@ -53,7 +53,8 @@
 
             # 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()

Reply via email to