Fill account_category after duplicate product template in test scenario

issue10269
This commit is contained in:
Cédric Krier committed 2021-10-11 17:19:03 +02:00
1 parent 827ded6e4d
commit 879b9af323
1 file changed
+2
+2
View File
@@ -105,6 +105,8 @@ Create products::
>>> product1, = template1.products
>>> template2, = template1.duplicate(default={'name': "Product2"})
>>> template2.account_category = account_category
>>> template2.save()
>>> product2, = template2.products
>>> category_root1 = Category(name="Root1")