From 7551bf38ef560afb6a87d07a1008f32cc8b0ba70 Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Sun, 8 Oct 2023 17:19:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=80=E5=94=AE=E6=A8=A1=E5=9D=97=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BE=9D=E8=B5=96=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_bf_connect/controllers/product.py | 12 ++++++++++++ sf_dlm/views/product_template_view.xml | 2 +- sf_sale/__manifest__.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 sf_bf_connect/controllers/product.py diff --git a/sf_bf_connect/controllers/product.py b/sf_bf_connect/controllers/product.py new file mode 100644 index 00000000..eb769a03 --- /dev/null +++ b/sf_bf_connect/controllers/product.py @@ -0,0 +1,12 @@ +# -*- coding: utf-8 -*- +import json +import logging +from odoo import http +from odoo.http import request + + +# class ProductController(http.Controller): +# +# @http.route('/api/cloud/get_cutting_model', type='http', auth='none', methods=['GET', 'POST'], csrf=False, +# cors="*") +# def get_cutting_model(self, **kw): diff --git a/sf_dlm/views/product_template_view.xml b/sf_dlm/views/product_template_view.xml index dd86fc86..fbc12cee 100644 --- a/sf_dlm/views/product_template_view.xml +++ b/sf_dlm/views/product_template_view.xml @@ -106,7 +106,7 @@ - +