基础排程基本完成
This commit is contained in:
2
sf_plan/controllers/__init__.py
Normal file
2
sf_plan/controllers/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from .import controllers
|
||||
|
||||
17
sf_plan/controllers/controllers.py
Normal file
17
sf_plan/controllers/controllers.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# -*- 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)
|
||||
|
||||
Reference in New Issue
Block a user