新建刀具管理模块 及菜单
This commit is contained in:
2
sf_tool_management/__init__.py
Normal file
2
sf_tool_management/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# -*-coding:utf-8-*-
|
||||||
|
from . import models
|
||||||
30
sf_tool_management/__manifest__.py
Normal file
30
sf_tool_management/__manifest__.py
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||||
|
{
|
||||||
|
'name': '机企猫智能工厂 刀具管理',
|
||||||
|
'version': '1.0',
|
||||||
|
'summary': '智能工厂刀具管理',
|
||||||
|
'sequence': 1,
|
||||||
|
'description': """
|
||||||
|
在本模块,定义了主要的角色、菜单、基础业务对象
|
||||||
|
""",
|
||||||
|
'category': 'sf',
|
||||||
|
'website': 'https://www.sf.jikimo.com',
|
||||||
|
'depends': ['account', 'sf_base', 'mrp'],
|
||||||
|
'data': [
|
||||||
|
'views/menu_view.xml'
|
||||||
|
],
|
||||||
|
'demo': [
|
||||||
|
],
|
||||||
|
'assets': {
|
||||||
|
|
||||||
|
'web.assets_qweb': [
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
'license': 'LGPL-3',
|
||||||
|
'installable': True,
|
||||||
|
'application': False,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
||||||
4
sf_tool_management/models/__init__.py
Normal file
4
sf_tool_management/models/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
from . import base
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3
sf_tool_management/models/base.py
Normal file
3
sf_tool_management/models/base.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
18
sf_tool_management/views/menu_view.xml
Normal file
18
sf_tool_management/views/menu_view.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<menuitem id="menu_sf_tool_manage"
|
||||||
|
name="刀具管理"
|
||||||
|
groups="mrp.group_mrp_routings"
|
||||||
|
parent="mrp.menu_mrp_root"
|
||||||
|
sequence="20"/>
|
||||||
|
<menuitem
|
||||||
|
sequence="2"
|
||||||
|
name="功能刀具"
|
||||||
|
id="menu_sf_base"
|
||||||
|
action="sf_base.sf_production_materials"
|
||||||
|
parent="menu_sf_tool_manage"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user