changeset 42b210b3287e in modules/sale_complaint:default
details: 
https://hg.tryton.org/modules/sale_complaint?cmd=changeset;node=42b210b3287e
description:
        Keep stock moves when credit or correct an invoice

        issue9140
        review273041002
diffstat:

 complaint.py |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r a72b28d241f4 -r 42b210b3287e complaint.py
--- a/complaint.py      Sat Mar 28 13:08:20 2020 +0100
+++ b/complaint.py      Sat Mar 28 16:51:52 2020 +0100
@@ -450,8 +450,6 @@
             for invoice_line in invoice_lines:
                 credit_line = invoice_line._credit()
                 credit_lines.append(credit_line)
-                # Remove product as it is not a return
-                credit_line.product = None
                 credit_line.origin = self.complaint
             if isinstance(self.complaint.origin, Line):
                 if self.quantity is not None:

Reply via email to