From 250330c7e15ff85828d1b73c8dfd8b68de374322 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_sale/wizards/rma_add_sale.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rma_sale/wizards/rma_add_sale.py b/rma_sale/wizards/rma_add_sale.py index 64c4873a..a3e3d323 100644 --- a/rma_sale/wizards/rma_add_sale.py +++ b/rma_sale/wizards/rma_add_sale.py @@ -60,6 +60,7 @@ class RmaAddSale(models.TransientModel): raise ValidationError("Please define a warehouse with a " "default rma location.") data = { + 'partner_id': self.partner_id.id, 'sale_line_id': line.id, 'product_id': line.product_id.id, 'origin': line.order_id.name,