From 1bb0699f6527c14d68a2b3014ba0749cab00aad4 Mon Sep 17 00:00:00 2001 From: lreficent Date: Thu, 19 Oct 2017 11:29:08 +0200 Subject: [PATCH] [9.0][FIX] wizards need to specify partner. --- rma_account/wizards/rma_add_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rma_account/wizards/rma_add_invoice.py b/rma_account/wizards/rma_add_invoice.py index 08af166c..a2904943 100644 --- a/rma_account/wizards/rma_add_invoice.py +++ b/rma_account/wizards/rma_add_invoice.py @@ -61,6 +61,7 @@ class RmaAddInvoice(models.TransientModel): raise ValidationError("Please define a warehouse with a" " default rma location") data = { + 'partner_id': self.partner_id.id, 'invoice_line_id': line.id, 'product_id': line.product_id.id, 'origin': line.invoice_id.number,