From 156be5374818bb51813d30a5768144f8333c4099 Mon Sep 17 00:00:00 2001 From: scampbell Date: Thu, 21 Feb 2019 12:03:08 -0800 Subject: [PATCH] [FIX] Fix Repair Bug --- fieldservice_repair/models/fsm_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fieldservice_repair/models/fsm_order.py b/fieldservice_repair/models/fsm_order.py index 8d4fc0ecac..ca495f57f1 100644 --- a/fieldservice_repair/models/fsm_order.py +++ b/fieldservice_repair/models/fsm_order.py @@ -32,7 +32,7 @@ def create(self, vals): 'product_qty': 1, 'invoice_method': 'none', 'internal_notes': order.description, - 'partner_id': order.partner_id and order.partner_id.id or + 'partner_id': order.customer_id and order.customer_id.id or False, }) order.repair_id = repair_id