[FIX] website_sale_option: make options work

This commit is contained in:
Richard Mathot 2014-08-07 09:50:16 +02:00
parent 0c462a12b9
commit a949b09c3e
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class sale_order(osv.Model):
line.write({
"name": _("%s\nOption for: %s") % (line.name, linked.product_id.name_get()[0][1]),
"linked_line_id": linked_line_id
}, context=context)
})
# select linked product
option_ids = [l.id for l in so.order_line if l.linked_line_id.id == line.id]