修改接口方法

This commit is contained in:
qihao.gong@jikimo.com
2024-02-22 14:30:51 +08:00
parent 87e9ecb9e2
commit 3fe9c9e532
4 changed files with 49 additions and 22 deletions

View File

@@ -8,8 +8,8 @@ from datetime import datetime
import requests
from odoo import http
from odoo.http import request
# 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