adapt interface SST-3 for 'assembled' in lot
parent
ce46936b56
commit
79a27dec17
|
|
@ -284,6 +284,7 @@ class SaleOrder(models.Model):
|
||||||
lot_attachment_values = []
|
lot_attachment_values = []
|
||||||
lot = self.env['stock.production.lot'].create({
|
lot = self.env['stock.production.lot'].create({
|
||||||
'name': vals['lot_id']['name'],
|
'name': vals['lot_id']['name'],
|
||||||
|
'assembled': vals['lot_id'].get('assembled',False),
|
||||||
'product_id': vals['product_id'],
|
'product_id': vals['product_id'],
|
||||||
'weight': vals['lot_id'].get('weight'),
|
'weight': vals['lot_id'].get('weight'),
|
||||||
'image': vals['lot_id'].get('image'),
|
'image': vals['lot_id'].get('image'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue