增加坯料冗余量
This commit is contained in:
@@ -3199,6 +3199,7 @@ class EmbryoRedundancySync(models.Model):
|
||||
embryo_redundancy.long = item['long']
|
||||
embryo_redundancy.width = item['width']
|
||||
embryo_redundancy.height = item['height']
|
||||
embryo_redundancy.active = item['active']
|
||||
else:
|
||||
self.env['sf.embryo.redundancy'].sudo().create({
|
||||
"name": item['name'],
|
||||
@@ -3206,4 +3207,5 @@ class EmbryoRedundancySync(models.Model):
|
||||
"long": item['long'],
|
||||
"width": item['width'],
|
||||
"height": item['height'],
|
||||
"active": item['active'],
|
||||
})
|
||||
Reference in New Issue
Block a user