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',
@@ -29,38 +36,37 @@
""", """,
'description': """ 'description': """
App Odoo Customize(Debranding Title,Language,Documentation,Quick Debug) App Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)
============ ============
White label odoo. White label odoo.
Support Odoo 12, 11, 10, 9. Support Odoo 12, 11, 10, 9.
You can config odoo, make it look like your own platform. You can config odoo, make it look like your own platform.
1. Deletes Odoo label in footer 1. Deletes Odoo label in footer
2. Replaces "Odoo" in Windows title 2. Replaces "Odoo" in Windows title
3. Customize Documentation, Support, About links and title in usermenu 3. Customize Documentation, Support, About links and title in usermenu
4. Adds "Developer mode" link to the top right-hand User Menu. 4. Adds "Developer mode" link to the top right-hand User Menu.
5. Adds Quick Language Switcher to the top right-hand User Menu. 5. Adds Quick Language Switcher to the top right-hand User Menu.
6. Adds Country flags to the top right-hand User Menu. 6. Adds Country flags to the top right-hand User Menu.
7. Adds English and Chinese user documentation access to the top right-hand User Menu. 7. Adds English and Chinese user documentation access to the top right-hand User Menu.
8. Adds developer documentation access to the top right-hand User Menu. 8. Adds developer documentation access to the top right-hand User Menu.
9. Customize "My odoo.com account" button 9. Customize "My odoo.com account" button
10. Standalone setting panel, easy to setup. 10. Standalone setting panel, easy to setup.
11. Provide 236 country flags. 11. Provide 236 country flags.
12. Multi-language Support. 12. Multi-language Support.
13. Change Powered by Odoo in login screen.(Please change '../views/app_odoo_customize_view.xml' #15) 13. Change Powered by Odoo in login screen.(Please change '../views/app_odoo_customize_view.xml' #15)
14. Quick delete test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Project/Message/Workflow etc. 14. Quick delete test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Project/Message/Workflow etc.
15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice... 15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
16. Fix odoo reload module translation bug while enable english language 16. Fix odoo reload module translation bug while enable english language
17. Stop Odoo Auto Subscribe(Performance Improve) 17. Stop Odoo Auto Subscribe(Performance Improve)
18. Show/Hide Author and Website in Apps Dashboard 18. Show/Hide Author and Website in Apps Dashboard
19. One Click to clear all data (Sometime pls click twice) 19. One Click to clear all data (Sometime pls click twice)
20. Show quick upgrade in app dashboard, click to show module info not go to odoo.com 20. Show quick upgrade in app dashboard, click to show module info not go to odoo.com
21. Can clear and reset account chart. Be cautious. 21. Can clear and reset account chart. Be cautious.
22. Update online manual and developer document to odoo12. 22. Update online manual and developer document to odoo12.
This module can help to white label the Odoo.
Also helpful for training and support for your odoo end-user.
The user can get the help document just by one click.
This module can help to white label the Odoo.
Also helpful for training and support for your odoo end-user.
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("")