changeset eab316d655bd in trytond:5.2
details: https://hg.tryton.org/trytond?cmd=changeset;node=eab316d655bd
description:
        Clear report path when copying reports

        issue9174
        review299191002
        (grafted from b1fb6c624ae9355ec8f46f903c2fe1c093362d2e)
diffstat:

 trytond/ir/action.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cf004de30f67 -r eab316d655bd trytond/ir/action.py
--- a/trytond/ir/action.py      Fri Apr 10 18:26:35 2020 +0200
+++ b/trytond/ir/action.py      Sun Apr 19 09:59:48 2020 +0200
@@ -668,6 +668,7 @@
         for report in reports:
             if report.report:
                 default['report_content'] = None
+                default['report'] = None
             default['report_name'] = report.report_name
             new_reports.extend(super(ActionReport, cls).copy([report],
                     default=default))

Reply via email to