Keep stock moves when credit or correct an invoice
issue9140 review273041002
This commit is contained in:
1 parent
10290ed010
commit
2c2ac954f5
1 file changed
-2
@@ -450,8 +450,6 @@ class Action(ModelSQL, ModelView):
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user