修改获取CNC程序从工单到制造订单

This commit is contained in:
qihao.gong@jikimo.com
2024-01-05 11:23:27 +08:00
parent 583f6503ec
commit c81dc99aef
13 changed files with 47 additions and 20 deletions

View File

@@ -5,8 +5,8 @@ import os
import json
from datetime import datetime
import requests
#from OCC.Extend.DataExchange import read_step_file
#from OCC.Extend.DataExchange import write_stl_file
from OCC.Extend.DataExchange import read_step_file
from OCC.Extend.DataExchange import write_stl_file
from odoo import models, fields, api
from odoo.modules import get_resource_path
from odoo.exceptions import ValidationError, UserError