1272
line = self.browse(cr, uid, line_id, context=context)[0]
1272
line = self.browse(cr, uid, line_id, context=context)
1273
1273
if line.product_id.type in ('consu', 'service', 'service_recep') and l_type == 'make_to_stock':
1274
1274
product_type = line.product_id.type == 'consu' and 'non stockable' or 'service'
1275
1275
value['l_type'] = 'make_to_order'