From d0d3ba921d0d20fb9ea3e7053eb70d94b61f1892 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Wed, 8 Jun 2016 10:08:27 +0200 Subject: [PATCH] [FIX] website_quote: delay in SO line When creating an SO line with a quotation template, the customer lead time must be set. opw:678039 --- addons/website_quote/models/order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_quote/models/order.py b/addons/website_quote/models/order.py index 046ade6ef09..d6d78cc80a5 100644 --- a/addons/website_quote/models/order.py +++ b/addons/website_quote/models/order.py @@ -185,6 +185,7 @@ class sale_order(osv.osv): 'product_uom': line.product_uom_id.id, 'website_description': line.website_description, 'state': 'draft', + 'delay': line.product_id.sale_delay }) lines.append((0, 0, data)) options = []