[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:
parent
f307e36e66
commit
d0d3ba921d
|
@ -185,6 +185,7 @@ class sale_order(osv.osv):
|
||||||
'product_uom': line.product_uom_id.id,
|
'product_uom': line.product_uom_id.id,
|
||||||
'website_description': line.website_description,
|
'website_description': line.website_description,
|
||||||
'state': 'draft',
|
'state': 'draft',
|
||||||
|
'delay': line.product_id.sale_delay
|
||||||
})
|
})
|
||||||
lines.append((0, 0, data))
|
lines.append((0, 0, data))
|
||||||
options = []
|
options = []
|
||||||
|
|
Loading…
Reference in New Issue