Fill account_category after duplicate product template in test scenario
issue10269
This commit is contained in:
1 parent
827ded6e4d
commit
879b9af323
1 file changed
+2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user