分配工厂条码字段注释去掉
This commit is contained in:
@@ -36,7 +36,7 @@ class ResProductTemplate(models.Model):
|
|||||||
'model_materials_type_id': self.env['mrs.materials.model'].search(
|
'model_materials_type_id': self.env['mrs.materials.model'].search(
|
||||||
[('materials_no', '=', item['texture_type_code'])]).id,
|
[('materials_no', '=', item['texture_type_code'])]).id,
|
||||||
'default_code': '%s-%s' % (order_number, i),
|
'default_code': '%s-%s' % (order_number, i),
|
||||||
# 'barcode': item['barcode'],
|
'barcode': item['barcode'],
|
||||||
'active': True
|
'active': True
|
||||||
}
|
}
|
||||||
copy_product_id.sudo().write(vals)
|
copy_product_id.sudo().write(vals)
|
||||||
|
|||||||
Reference in New Issue
Block a user