From 879b9af3236e1896e8ea20a129bb0dc5a76d65c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 11 Oct 2021 17:19:03 +0200 Subject: [PATCH] Fill account_category after duplicate product template in test scenario issue10269 --- tests/scenario_sale_reporting.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scenario_sale_reporting.rst b/tests/scenario_sale_reporting.rst index 1edbccfb99..d47d762aec 100644 --- a/tests/scenario_sale_reporting.rst +++ b/tests/scenario_sale_reporting.rst @@ -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")