adapt interface SST-3 for 'assembled' in lot

develop
Andreas Osim 2018-09-03 13:29:23 +02:00
parent ce46936b56
commit 79a27dec17
1 changed files with 1 additions and 0 deletions

View File

@ -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'),