This commit is contained in:
ivan deng
2018-11-30 19:06:37 +08:00
parent 2814bfc59f
commit 6dcb18206b
3 changed files with 77 additions and 40 deletions

View File

@@ -1,4 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from . import models from . import models
from .hooks import pre_init_hook
from .hooks import post_init_hook

View File

@@ -1,19 +1,26 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Created on 2017-11-05 # Created on 2018-11-26
# author: 广州尚鹏http://www.sunpop.cn # author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com # email: 300883@qq.com
# resource of Sunpop # resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线用户手册长期更新 # Odoo12在线用户手册(长期更新)
# http://www.sunpop.cn/documentation/user/12.0/en/index.html # http://www.sunpop.cn/documentation/user/12.0/en/index.html
# Odoo12在线开发者手册长期更新
# http://www.sunpop.cn/documentation/12.0/index.html
# Odoo10在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载 # Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/ # http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备 # Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/ # http://www.sunpop.cn/odoo10_developer_document_offline/
# description: # description:
{ {
'name': 'App Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug,Clear Data)', 'name': 'App Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug,Clear Data)',
'version': '12.0.11.25', 'version': '12.0.11.25',
@@ -60,7 +67,6 @@ You can config odoo, make it look like your own platform.
This module can help to white label the Odoo. This module can help to white label the Odoo.
Also helpful for training and support for your odoo end-user. Also helpful for training and support for your odoo end-user.
The user can get the help document just by one click. The user can get the help document just by one click.
""", """,
'images': ['static/description/banner.png'], 'images': ['static/description/banner.png'],
'depends': ['base', 'web', 'mail'], 'depends': ['base', 'web', 'mail'],
@@ -74,13 +80,16 @@ The user can get the help document just by one click.
'data/res_groups.xml', 'data/res_groups.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',
], ],
'demo': [], 'qweb': [
'test': [ 'static/src/xml/*.xml',
], ],
'demo': [],
'test': [],
'css': [],
'js': [],
'pre_init_hook': 'pre_init_hook',
'post_init_hook': 'post_init_hook',
'installable': True, 'installable': True,
'application': True, 'application': True,
'auto_install': False, 'auto_install': False,
'qweb': [
'static/src/xml/customize_user_menu.xml',
],
} }

View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Created on 2018-10-12
# author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/
# description:
def pre_init_hook(cr):
pass
# cr.execute("")
def post_init_hook(cr, registry):
pass
# cr.execute("")