处理订单客供料的问题

This commit is contained in:
胡尧
2024-11-21 15:48:17 +08:00
parent 8c81315c33
commit 7408cc00f9
5 changed files with 4 additions and 7 deletions

View File

@@ -133,6 +133,7 @@ class ReSaleOrder(models.Model):
'product_uom_qty': item['number'],
'model_glb_file': base64.b64decode(item['model_file']),
'remark': item.get('remark'),
'embryo_redundancy_id': item.get('embryo_redundancy_id'),
'is_incoming_material': True if item.get('embryo_redundancy_id') else False,
'manual_quotation': item.get('manual_quotation')
}