changeset a75bd5fbc324 in modules/account_stock_continental:default
details: 
https://hg.tryton.org/modules/account_stock_continental?cmd=changeset&node=a75bd5fbc324
description:
        Fill account_category after duplicate product template in test scenario

        issue10269
diffstat:

 tests/scenario_account_stock_continental.rst |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r c7da1bc65008 -r a75bd5fbc324 
tests/scenario_account_stock_continental.rst
--- a/tests/scenario_account_stock_continental.rst      Wed Jul 28 00:32:29 
2021 +0200
+++ b/tests/scenario_account_stock_continental.rst      Mon Oct 11 17:19:03 
2021 +0200
@@ -94,6 +94,8 @@
     >>> template_average, = template.duplicate({
     ...         'cost_price_method': 'average',
     ...         })
+    >>> template_average.account_category = account_category
+    >>> template_average.save()
     >>> product_average, = template_average.products
 
 Create payment term::

Reply via email to