diff --git a/app_web_enterprise/__init__.py b/app_web_enterprise/__init__.py new file mode 100644 index 00000000..b801727f --- /dev/null +++ b/app_web_enterprise/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- + +from .hooks import pre_init_hook +from . import controllers +from . import models +from . import ir +from . import res \ No newline at end of file diff --git a/app_web_enterprise/__openerp__.py b/app_web_enterprise/__openerp__.py new file mode 100644 index 00000000..644e5077 --- /dev/null +++ b/app_web_enterprise/__openerp__.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-05 +# 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: + + +{ + 'name': "App web enterprise enhance, odoo企业版界面增强", + 'version': '10.0.5.15', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + odoo enterprise version UI enhance. + 广州尚鹏,Sunpop.cn 的odoo模块。企业版界面增强。 + 1. Add dropdown arrow to parent menu. + 多级菜单中出现箭头。 + 2. Replace the odoo logo to your company logo in main menu. + 替换主菜单界面的logo为你公司的logo。 + 3. Alway show search in main menu. + 在主菜单界面让搜索可见。 + """, + 'description': """ + 模块开发模板,目录结构与文件定义。 + """, + 'price': 98.00, + 'currency': 'EUR', + 'depends': ['app_odoo_customize', 'web_enterprise'], + 'images': [], + 'data': [ + 'views/webclient_templates.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + "static/src/xml/*.xml", + ], + 'js': [ + ], + 'images': ['static/description/app_web_enterprise_03.jpg'], + 'pre_init_hook': 'pre_init_hook', + 'post_load': None, + 'pre_init_hook': None, + 'post_init_hook': None, + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_web_enterprise/controllers/__init__.py b/app_web_enterprise/controllers/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_web_enterprise/controllers/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_web_enterprise/hooks.py b/app_web_enterprise/hooks.py new file mode 100644 index 00000000..d235b69c --- /dev/null +++ b/app_web_enterprise/hooks.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-22 +# 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): + """ + 数据初始化,只在安装时执行,更新时不执行 + """ + try: + # + pass + except Exception as e: + raise Warning(e) diff --git a/app_web_enterprise/i18n/zh_CN.po b/app_web_enterprise/i18n/zh_CN.po new file mode 100644 index 00000000..f45db9f9 --- /dev/null +++ b/app_web_enterprise/i18n/zh_CN.po @@ -0,0 +1,16 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * felive_home +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-08 14:28+0000\n" +"PO-Revision-Date: 2018-01-08 14:28+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/app_web_enterprise/ir/__init__.py b/app_web_enterprise/ir/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_web_enterprise/ir/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_web_enterprise/models/__init__.py b/app_web_enterprise/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_web_enterprise/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_web_enterprise/report/__init__.py b/app_web_enterprise/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_web_enterprise/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_web_enterprise/res/__init__.py b/app_web_enterprise/res/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_web_enterprise/res/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_web_enterprise/static/description/app_web_enterprise_01.jpg b/app_web_enterprise/static/description/app_web_enterprise_01.jpg new file mode 100644 index 00000000..9bffc8e2 Binary files /dev/null and b/app_web_enterprise/static/description/app_web_enterprise_01.jpg differ diff --git a/app_web_enterprise/static/description/app_web_enterprise_02.jpg b/app_web_enterprise/static/description/app_web_enterprise_02.jpg new file mode 100644 index 00000000..4b0eb42b Binary files /dev/null and b/app_web_enterprise/static/description/app_web_enterprise_02.jpg differ diff --git a/app_web_enterprise/static/description/app_web_enterprise_03.jpg b/app_web_enterprise/static/description/app_web_enterprise_03.jpg new file mode 100644 index 00000000..7903e40f Binary files /dev/null and b/app_web_enterprise/static/description/app_web_enterprise_03.jpg differ diff --git a/app_web_enterprise/static/description/icon.png b/app_web_enterprise/static/description/icon.png new file mode 100644 index 00000000..4c57f611 Binary files /dev/null and b/app_web_enterprise/static/description/icon.png differ diff --git a/app_web_enterprise/static/description/index.html b/app_web_enterprise/static/description/index.html new file mode 100644 index 00000000..2837abc6 --- /dev/null +++ b/app_web_enterprise/static/description/index.html @@ -0,0 +1,68 @@ +
+
+
+

App Web Enterprise Enhance

+
+

This moduld base on App Odoo Customize

+

Please download from + Get relate module +

+

More Powerful addons: + Supop.cn Odoo Addons +

+

Lastest update: v11.0.5.4, 2018-05-04

+

This moduld allows user to .

+
    +
  • 1.Add dropdown arrow to parent menu.
  • +
  • 2.Replace the odoo logo to your company logo in main menu.
  • +
  • 3.Alway show search in main menu.
  • +
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_web_enterprise/static/index.html b/app_web_enterprise/static/index.html new file mode 100644 index 00000000..5a66feec --- /dev/null +++ b/app_web_enterprise/static/index.html @@ -0,0 +1,142 @@ +
+
+
+

App Enterprise theme UI enhance

+
+

This moduld allows user to get better UI of odoo enterprise.

+

Lastest update: v10.0.5.15

+

Add Odoo 10 Support

+
    +
  • Add dropdown arrow to parent menu.
  • +
  • Replace the odoo logo to your company logo in main menu.
  • +
  • Alway show search in main menu.
  • +
+
+ +
+ +
+
+
+
+ + +
+
+

Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)

+
+
+ +
+ +
+
+
+

Multi-language support: Chinese ready

+
+
+ +
+ +
+
+
+ +
+
+

How to use: Go to Settings -> odooApp Settings

+
+
+ +
+
+
+ +
+
+

Set System Icon (odoo 10 only)

+
+
+ +
+
+
+ +
+
+

Show/Hide Author and Website in Apps Dashboard

+
+

Before

+
+ +
+
+

After uncheck "Show Author and Website in Apps Dashboard"

+
+ +
+
+
+ +
+
+

Setup more flags: just rename the flag pic to locale code of the country

+

You can find the pictures in "\app-odoo\app_odoo_customize\static\src\img\flags"

+
+
+ +
+
+
+ +
+
+

Quick Delete test Data.

+

You can quickly delete all the test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Message/Workflow etc.

+
+
+ +
+
+
+
+ +
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_web_enterprise/static/src/less/app_switcher.less b/app_web_enterprise/static/src/less/app_switcher.less new file mode 100644 index 00000000..5cf50190 --- /dev/null +++ b/app_web_enterprise/static/src/less/app_switcher.less @@ -0,0 +1,10 @@ +.o_application_switcher { + .o_application_switcher_scrollable { + .o_application_switcher_footer { + > img { + width: auto; + max-width: 200px; + } + } + } +} \ No newline at end of file diff --git a/app_web_enterprise/static/src/less/menu_search.less b/app_web_enterprise/static/src/less/menu_search.less new file mode 100644 index 00000000..d5492e25 --- /dev/null +++ b/app_web_enterprise/static/src/less/menu_search.less @@ -0,0 +1,5 @@ +.o_menu_search { + &.o_bar_hidden { + opacity: 0.9; + } +} diff --git a/app_web_enterprise/static/src/xml/base.xml b/app_web_enterprise/static/src/xml/base.xml new file mode 100644 index 00000000..afa4d2f7 --- /dev/null +++ b/app_web_enterprise/static/src/xml/base.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/app_web_enterprise/views/webclient_templates.xml b/app_web_enterprise/views/webclient_templates.xml new file mode 100644 index 00000000..9495621e --- /dev/null +++ b/app_web_enterprise/views/webclient_templates.xml @@ -0,0 +1,9 @@ + + + +