[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
This commit is contained in:
Goffin Simon 2016-06-08 10:08:27 +02:00
parent f307e36e66
commit d0d3ba921d
1 changed files with 1 additions and 0 deletions

View File

@ -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 = []