# -*- coding: utf-8 -*- import json import logging from odoo import http from odoo.http import request class ProductionPlan(http.Controller): @http.route('/api/production/plan', type='http', auth='none', methods=['GET', 'POST'], csrf=False, cors="*") def schedule_orders(self, **kw): """ 排程订单 """ logging.info('schedule_orders', kw)