mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add 18. Show/Hide Author and Website in Apps Dashboard
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@
|
||||
/app_odoo_customize/_resource
|
||||
/app_web_studio
|
||||
/web_studio
|
||||
.bat
|
||||
17
app.conf
Normal file
17
app.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
[options]
|
||||
addons_path = d:\odoo10\app-odoo, d:\odoo11-ent\source\odoo\addons
|
||||
data_dir = odoofile
|
||||
db_host = 127.0.0.1
|
||||
db_maxconn = 64
|
||||
db_name = False
|
||||
db_user = odoo
|
||||
db_password = odoo
|
||||
db_port = 5432
|
||||
loglevel = debug
|
||||
bin_path = runtime\win32\wkhtmltopdf
|
||||
pg_path = runtime\pgsql\bin
|
||||
db_template = template1
|
||||
|
||||
longpolling_port = 8072
|
||||
xmlrpc_port = 8011
|
||||
|
||||
@@ -47,6 +47,7 @@ You can config odoo, make it look like your own platform.
|
||||
15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
|
||||
16. Fix odoo reload module translation bug while enable english language
|
||||
17. Stop Odoo Auto Subscribe(Performance Improve)
|
||||
18. Show/Hide Author and Website in Apps Dashboard
|
||||
|
||||
This module can help to white label the Odoo.
|
||||
Also helpful for training and support for your odoo end-user.
|
||||
@@ -58,8 +59,10 @@ The user can get the help document just by one click.
|
||||
'data': [
|
||||
'views/app_odoo_customize_view.xml',
|
||||
'views/app_theme_config_settings_view.xml',
|
||||
'views/ir_model_view.xml',
|
||||
# data
|
||||
'data/ir_config_parameter.xml',
|
||||
'data/res_groups.xml',
|
||||
],
|
||||
'demo': [],
|
||||
'test': [
|
||||
|
||||
10
app_odoo_customize/data/res_groups.xml
Normal file
10
app_odoo_customize/data/res_groups.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
|
||||
<record id="group_show_author_in_apps" model="res.groups">
|
||||
<field name="name">Show Author and Website in Apps Dashboard</field>
|
||||
<field name="category_id" ref="base.module_category_hidden"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0+e-20171107\n"
|
||||
"Project-Id-Version: Odoo Server 11.0+e-20180313\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-01-10 11:41+0000\n"
|
||||
"PO-Revision-Date: 2018-01-10 11:41+0000\n"
|
||||
"POT-Creation-Date: 2018-03-22 17:49+0000\n"
|
||||
"PO-Revision-Date: 2018-03-22 17:49+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -57,7 +57,7 @@ msgstr "取消"
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_stop_subscribe
|
||||
msgid "Check to stop Odoo Subscribe function"
|
||||
msgstr "Check to stop Odoo Subscribe function"
|
||||
msgstr "选中可停止odoo内置的用户消息订阅"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_create_uid
|
||||
@@ -186,12 +186,12 @@ msgstr "显示/隐藏菜单项"
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "最后修改日"
|
||||
msgstr "最后修改时间"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr "最后更新人"
|
||||
msgstr "最后更新者"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_write_date
|
||||
@@ -228,11 +228,6 @@ msgstr "POS门店"
|
||||
msgid "Please confirm to delete the select data?"
|
||||
msgstr "确认删除指定数据?"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.ui.view,arch_db:app_odoo_customize.replace_login
|
||||
msgid "Powered by <span>odooApp</span>"
|
||||
msgstr "技术支持 <span>odooApp</span>"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
||||
msgid "Purchase"
|
||||
@@ -248,6 +243,12 @@ msgstr "销售"
|
||||
msgid "Setup System Name,which replace Odoo"
|
||||
msgstr "设置系统名称,取代Odoo"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_group_show_author_in_apps
|
||||
#: model:res.groups,name:app_odoo_customize.group_show_author_in_apps
|
||||
msgid "Show Author and Website in Apps Dashboard"
|
||||
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"
|
||||
@@ -309,6 +310,11 @@ msgstr "支持链接"
|
||||
msgid "System Name"
|
||||
msgstr "系统名称"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_group_show_author_in_apps
|
||||
msgid "Uncheck to Hide Author and Website in Apps Dashboard"
|
||||
msgstr "Uncheck to Hide Author and Website in Apps Dashboard"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_enterprise
|
||||
msgid "Uncheck to hide the Enterprise tag"
|
||||
@@ -379,17 +385,17 @@ msgstr "个性化odoo设置"
|
||||
msgid "ir.ui.view"
|
||||
msgstr "ir.ui.view"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_group
|
||||
msgid "odooApp"
|
||||
msgstr "odooApp"
|
||||
|
||||
#. 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
|
||||
msgid "odooApp Customize"
|
||||
msgstr "odooApp 定制"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.ui.menu,name:app_odoo_customize.menu_app_group
|
||||
msgid "odooApp"
|
||||
msgstr "odooApp"
|
||||
|
||||
#. module: app_odoo_customize
|
||||
#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
||||
msgid "odooApp Customize Settings"
|
||||
|
||||
@@ -25,6 +25,8 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
app_show_share = fields.Boolean('Show Share Dashboard', help=u"Uncheck to hide the Odoo Share Dashboard")
|
||||
app_show_poweredby = fields.Boolean('Show Powered by Odoo', help=u"Uncheck to hide the Powered by text")
|
||||
app_stop_subscribe = fields.Boolean('Stop Odoo Subscribe(Performance Improve)', help=u"Check to stop Odoo Subscribe function")
|
||||
group_show_author_in_apps = fields.Boolean(string="Show Author and Website in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps',
|
||||
help=u"Uncheck to Hide Author and Website in Apps Dashboard")
|
||||
|
||||
app_documentation_url = fields.Char('Documentation Url')
|
||||
app_documentation_dev_url = fields.Char('Developer Documentation Url')
|
||||
@@ -90,6 +92,7 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
ir_config.set_param("app_show_share", self.app_show_share or "False")
|
||||
ir_config.set_param("app_show_poweredby", self.app_show_poweredby or "False")
|
||||
ir_config.set_param("app_stop_subscribe", self.app_stop_subscribe or "False")
|
||||
# ir_config.set_param("group_show_author_in_apps", self.group_show_author_in_apps or "False")
|
||||
|
||||
ir_config.set_param("app_documentation_url",
|
||||
self.app_documentation_url or "http://www.sunpop.cn/documentation/user/10.0/en/index.html")
|
||||
|
||||
@@ -20,6 +20,7 @@ You can config odoo, make it look like your own platform.
|
||||
15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
|
||||
16. Fix odoo reload module translation bug while enable english language
|
||||
17. Stop Odoo Auto Subscribe(Performance Improve)
|
||||
18. Show/Hide Author and Website in Apps Dashboard
|
||||
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.
|
||||
@@ -46,6 +47,7 @@ http://www.sunpop.cn
|
||||
15. 将各类单据的序号重置,从1开始,包括:SO/PO/MO/Invoice 等
|
||||
16. 修复odoo启用英文后模块不显示中文的Bug
|
||||
17. 可停用odoo自动订阅功能,避免“同样对象关注2次”bug,同时提升性能
|
||||
18. 显示/隐藏应用的作者和网站-在应用安装面板中
|
||||
|
||||
使用方法:将解压后的 app_odoo_customize 放到 odoo的 addons目录下,激活开发者模式,应用-->更新应用列表,
|
||||
找到 "App odoo Customize"模块,安装即可。
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
<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,Quick Data Clear. </p>
|
||||
<h3>Lastest update: v11.0.3.16, 2018-03-16</h3>
|
||||
<h3>Lastest update: v11.0.3.23</h3>
|
||||
<p>Add 18. Show/Hide Author and Website in Apps Dashboard</p>
|
||||
<p>Fix some bug.</p>
|
||||
<h1>More Powerful UI addons:
|
||||
<a class="btn btn-primary mb16" href="https://www.odoo.com/apps/modules/10.0/app_ui_enhance/">App UI enhance</a>
|
||||
@@ -30,6 +31,7 @@
|
||||
<li>15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...</li>
|
||||
<li>16. Fix odoo reload module translation bug while enable english language</li>
|
||||
<li>17. Stop Odoo Auto Subscribe(Performance Improve)</li>
|
||||
<li>18. Show/Hide Author and Website in Apps Dashboard</li>
|
||||
</ul>
|
||||
<p>
|
||||
This module can help to white label the Odoo.
|
||||
@@ -80,6 +82,23 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="oe_row oe_spaced" style="max-width: 800px;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
|
||||
<h2 class='oe_mt32'>Show/Hide Author and Website in Apps Dashboard</h2>
|
||||
</div>
|
||||
<p>Before</p>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="set18-1.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
<p>After uncheck "Show Author and Website in Apps Dashboard"</p>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="set18-2.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="oe_row oe_spaced" style="max-width: 800px;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
|
||||
|
||||
BIN
app_odoo_customize/static/description/set18-1.jpg
Normal file
BIN
app_odoo_customize/static/description/set18-1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
app_odoo_customize/static/description/set18-2.jpg
Normal file
BIN
app_odoo_customize/static/description/set18-2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -64,6 +64,10 @@
|
||||
<field name="app_stop_subscribe"/>
|
||||
<label for="app_stop_subscribe"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="group_show_author_in_apps"/>
|
||||
<label for="group_show_author_in_apps"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group string="User Menu Content">
|
||||
|
||||
17
app_odoo_customize/views/ir_model_view.xml
Normal file
17
app_odoo_customize/views/ir_model_view.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Modules -->
|
||||
<record id="app_module_form" model="ir.ui.view">
|
||||
<field name="name">app.ir.module.module.form</field>
|
||||
<field name="model">ir.module.module</field>
|
||||
<field name="inherit_id" ref="base.module_form" />
|
||||
<field name="arch" type="xml">
|
||||
<h3 class="oe_fade" position="attributes">
|
||||
<attribute name="groups">app_odoo_customize.group_show_author_in_apps</attribute>
|
||||
</h3>
|
||||
<field name="website" position="attributes">
|
||||
<attribute name="groups">app_odoo_customize.group_show_author_in_apps</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user