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 dca1b46a4a
commit 1f2485321c
1 file changed
+2
@@ -88,6 +88,8 @@ Create products::
>>> template_average, = template.duplicate({
... 'cost_price_method': 'average',
... })
>>> template_average.account_category = account_category
>>> template_average.save()
>>> product_average, = template_average.products
>>> carrier_template = ProductTemplate()