update name and css

This commit is contained in:
ivan deng
2017-08-19 12:36:46 +08:00
parent 0ba047d178
commit f31f466f3e
509 changed files with 189 additions and 170 deletions

2
.gitignore vendored
View File

@@ -2,4 +2,4 @@
# http://www.jetbrains.com/pycharm/webhelp/project.html
.idea
.iml
/app_my_odoo_customize/_resource
/app_odoo_customize/_resource

View File

@@ -1,132 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_my_odoo_customize
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-07 08:57+0000\n"
"PO-Revision-Date: 2017-08-07 08:57+0000\n"
"Last-Translator: Ivan Deng <300883@qq.com>, 2017\n"
"Language-Team: http://www.sunpop.cn \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_system_name
msgid "System Name"
msgstr "系统名称"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_lang
msgid "Show Quick Language Switcher"
msgstr "显示快速多语言切换"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_debug
msgid "Show Quick Debug"
msgstr "显示快速调试"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_documentation
msgid "Show Documentation"
msgstr "显示文档"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_documentation_dev
msgid "Show Developer Documentation"
msgstr "显示开发者文档"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_support
msgid "Show Support"
msgstr "显示支持"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_account
msgid "Show My Account"
msgstr "显示我的帐户"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_enterprise
msgid "Show Enterprise Tag"
msgstr "显示升级企业版标签提醒"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_share
msgid "Show Share Dashboard"
msgstr "显示分享Odoo"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_show_poweredby
msgid "Show Powered by Odoo"
msgstr "显示Powered by Odoo"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_documentation_url
msgid "Documentation Url"
msgstr "文档链接"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_documentation_dev_url
msgid "Developer Documentation Url"
msgstr "开发者手册链接"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_support_url
msgid "Support Url"
msgstr "支持链接"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_account_title
msgid "My Odoo.com Account Title"
msgstr "我的帐户显示标题"
#. module: app_my_odoo_customize
#: model:ir.model.fields,field_description:app_my_odoo_customize.field_app_theme_config_settings_app_account_url
msgid "My Odoo.com Account Url"
msgstr "我的帐户链接"
#. module: app_my_odoo_customize
#. openerp-web
#: code:addons/app_my_odoo_customize/static/src/xml/customize_user_menu.xml
#, python-format
msgid "Developer Manual"
msgstr "开发者手册"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "Apply"
msgstr "应用"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "Cancel"
msgstr "取消"
#. module: app_my_odoo_customize
#: model:ir.actions.act_window,name:app_my_odoo_customize.action_app_theme_config
#: model:ir.ui.menu,name:app_my_odoo_customize.menu_app_theme_config
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "odooApp Settings"
msgstr "odooApp 设置"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "User Menu"
msgstr "用户菜单"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "Item to Show "
msgstr "显示/隐藏菜单项"
#. module: app_my_odoo_customize
#: model:ir.ui.view,arch_db:app_my_odoo_customize.view_app_theme_config_settings
msgid "User Menu Content"
msgstr "菜单项具体操作设置"

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<template id="switch_language" name="switch_language assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/app_my_odoo_customize/static/src/css/app.css"/>
<script type="text/javascript" src="/app_my_odoo_customize/static/src/js/switch_language.js"></script>
<script type="text/javascript" src="/app_my_odoo_customize/static/src/js/customize_user_menu.js"></script>
<script type="text/javascript" src="/app_my_odoo_customize/static/src/js/app_system_name.js"/>
</xpath>
</template>
</data>
</odoo>

View File

@@ -1,6 +1,6 @@
{
'name': 'App My Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug)',
'name': 'App Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug)',
'version': '10.0.1.0',
'author': 'odooapp.cn',
'category': 'Productivity',
@@ -9,7 +9,7 @@
'summary': 'Quick customize and debranding your own Odoo. Quick debug, Language Switcher, Online Documentation Access.',
'description': """
App My Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)
App Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)
============
1.Deletes Odoo label in footer
2.Replaces "Odoo" in Windows title
@@ -32,7 +32,7 @@ The user can get the help document just by one click.
'images': ['static/description/banner.png'],
'depends': ['web'],
'data': [
'views/app_my_odoo_customize_view.xml',
'views/app_odoo_customize_view.xml',
'views/app_theme_config_settings_view.xml',
# data
'data/ir_config_parameter.xml',
@@ -46,7 +46,5 @@ The user can get the help document just by one click.
'qweb': [
'static/src/xml/customize_user_menu.xml',
],
'currency': 'USD',
'price': 3.9,
}

View File

Before

Width:  |  Height:  |  Size: 380 KiB

After

Width:  |  Height:  |  Size: 380 KiB

View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

View File

@@ -0,0 +1,132 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_odoo_customize
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-07 08:57+0000\n"
"PO-Revision-Date: 2017-08-07 08:57+0000\n"
"Last-Translator: Ivan Deng <300883@qq.com>, 2017\n"
"Language-Team: http://www.sunpop.cn \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_system_name
msgid "System Name"
msgstr "系统名称"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_lang
msgid "Show Quick Language Switcher"
msgstr "显示快速多语言切换"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_debug
msgid "Show Quick Debug"
msgstr "显示快速调试"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_documentation
msgid "Show Documentation"
msgstr "显示文档"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_documentation_dev
msgid "Show Developer Documentation"
msgstr "显示开发者文档"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_support
msgid "Show Support"
msgstr "显示支持"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_account
msgid "Show My Account"
msgstr "显示我的帐户"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_enterprise
msgid "Show Enterprise Tag"
msgstr "显示升级企业版标签提醒"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_share
msgid "Show Share Dashboard"
msgstr "显示分享Odoo"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_poweredby
msgid "Show Powered by Odoo"
msgstr "显示Powered by Odoo"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_documentation_url
msgid "Documentation Url"
msgstr "文档链接"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_documentation_dev_url
msgid "Developer Documentation Url"
msgstr "开发者手册链接"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_support_url
msgid "Support Url"
msgstr "支持链接"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_account_title
msgid "My Odoo.com Account Title"
msgstr "我的帐户显示标题"
#. module: app_odoo_customize
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_account_url
msgid "My Odoo.com Account Url"
msgstr "我的帐户链接"
#. module: app_odoo_customize
#. openerp-web
#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml
#, python-format
msgid "Developer Manual"
msgstr "开发者手册"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Apply"
msgstr "应用"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Cancel"
msgstr "取消"
#. module: app_odoo_customize
#: model:ir.actions.act_window,name:app_odoo_customize.action_app_theme_config
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_theme_config
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "odooApp Settings"
msgstr "odooApp 设置"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "User Menu"
msgstr "用户菜单"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "Item to Show "
msgstr "显示/隐藏菜单项"
#. module: app_odoo_customize
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
msgid "User Menu Content"
msgstr "菜单项具体操作设置"

View File

@@ -10,7 +10,7 @@ class AppThemeConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
_name = 'app.theme.config.settings'
_description = u"App My Odoo Customize settings"
_description = u"App Odoo Customize settings"
app_system_name = fields.Char('System Name', help=u"Setup System Name,which replace Odoo")
app_show_lang = fields.Boolean('Show Quick Language Switcher', help=u"When enable,User can quick switch language in user menu")
app_show_debug = fields.Boolean('Show Quick Debug', help=u"When enable,everyone login can see the debug menu")

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -1,12 +1,11 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_span12">
<h2 class="oe_slogan">App My Odoo Customize</h2>
<h2 class="oe_slogan">App Odoo Customize</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher,
Online Documentation Access. </p>
<br>
<p>
<ul>
<li>1.Deletes Odoo label in footer</li>
<li>2.Replaces "Odoo" in Windows title</li>
@@ -21,8 +20,9 @@
<li>11.Provide 236 country flags.</li>
<li>12.Multi-language Support.</li>
</ul>
<p>
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.<br/>
The user can get the help document just by one click.
</p>
</div>
@@ -30,35 +30,35 @@
</div>
<div class="oe_row oe_spaced">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_demo"
style=" margin: 80px auto 10px; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
<h2 class='oe_mt32'>Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)</h2>
</div>
<div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_screenshot">
<img src="banner.png" style="border:1px solid black"/>
<br/>
</div>
</div>
<div class="oe_row oe_spaced">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_demo"
style=" margin: 80px auto 10px; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
style=" argin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
<h2 class='oe_mt32'>How to use: Go to Settings -> odooApp Settings</h2>
</div>
<div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_screenshot">
<img src="set1.png" style="border:1px solid black"/>
<br/>
</div>
</div>
<div class="oe_row oe_spaced">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_demo"
style=" margin: 140px auto 10px; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
<h2 class='oe_mt32'>Setup more flags: just rename the flag pic to locale code of the country</h2>
<p>You can find the pictures in "\app-odoo\app_my_odoo_customize\static\src\img\flags"</p>
<p>You can find the pictures in "\app-odoo\app_odoo_customize\static\src\img\flags"</p>
</div>
<div class="oe_demo oe_picture oe_screenshot">
<div class="oe_demo oe_screenshot">
<img src="set2.png" style="border:1px solid black"/>
<br/>
</div>

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 B

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Some files were not shown because too many files have changed in this diff Show More