销售模块新增依赖引用
This commit is contained in:
12
sf_bf_connect/controllers/product.py
Normal file
12
sf_bf_connect/controllers/product.py
Normal file
@@ -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):
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
""",
|
""",
|
||||||
'category': 'sf',
|
'category': 'sf',
|
||||||
'website': 'https://www.sf.jikimo.com',
|
'website': 'https://www.sf.jikimo.com',
|
||||||
'depends': ['sale', 'web_widget_model_viewer'],
|
'depends': ['sale', 'sale_management', 'web_widget_model_viewer'],
|
||||||
'data': [
|
'data': [
|
||||||
'security/group_security.xml',
|
'security/group_security.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
|||||||
Reference in New Issue
Block a user