工单异常处理

This commit is contained in:
胡尧
2024-10-14 15:18:27 +08:00
parent 4a928735eb
commit e2bd36ca16
14 changed files with 221 additions and 2 deletions

View File

@@ -3,11 +3,12 @@ import logging
import os
import json
import base64
from odoo import http
from odoo import http, fields, models
from odoo.http import request
from odoo.addons.sf_base.controllers.controllers import MultiInheritController
class Sf_Mrs_Connect(http.Controller):
class Sf_Mrs_Connect(http.Controller, MultiInheritController):
@http.route('/api/cnc_processing/create', type='json', auth='sf_token', methods=['GET', 'POST'], csrf=False,
cors="*")