新建刀具管理模块 及菜单

This commit is contained in:
qihao.gong@jikimo.com
2023-06-13 10:40:58 +08:00
parent c76c01d78f
commit 2eadcbe31a
5 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# -*-coding:utf-8-*-
from . import models

View 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,
}

View File

@@ -0,0 +1,4 @@
from . import base

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

View 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>