# -*- coding: utf-8 -*- { 'name': "cat_app", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "zzry", 'website': "http://www.yourcompany.com", # Categories can be used to filter modules in modules listing # Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml # for the full list 'category': 'Uncategorized', 'version': '0.1', # any module necessary for this one to work correctly 'depends': ['base'], # always loaded # 视图文件通常在权限文件之后 'data': [ 'views/views.xml', 'views/templates.xml', "security/library_security.xml", 'security/ir.model.access.csv', 'views/library_menu.xml', 'views/book_view.xml', "views/book_list_template.xml", ], # 加载静态资源 # 'assets': { # 'web.assets_backend': [ # 'css/custom_styles.css', # ], # }, # only loaded in demonstration mode 'demo': [ 'demo/demo.xml', ], #是否可安装(设置为False则前端无法搜索到) 'installable': True, #是否自动安装(在depends参数的模块都安装完成之后,自动安装本模块) 'auto_install': False, 'application': True, # 如果是应用,设置为 True }