fix odoo_customize

This commit is contained in:
Ivan x390
2019-10-05 21:29:39 +08:00
parent 16e4246fde
commit 90f58ef5a1
7 changed files with 42 additions and 41 deletions

View File

@@ -18,7 +18,7 @@
{
'name': "App web enterprise enhance,企业版界面增强",
'version': '13.19.08.24',
'version': '13.19.10.05',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<!-- when enterprise-->
<t t-extend="DashboardMain">
<t t-jquery="a[href='https://play.google.com/store/apps/details?id=com.odoo.mobile']" t-operation="replace">
<a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">
<img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/google_play.png" alt="On Google Play"/>
</a>
</t>
<t t-jquery="a[href='https://itunes.apple.com/us/app/odoo/id1272543640']" t-operation="replace">
<a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">
<img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/app_store.png" alt="On Apple Store"/>
</a>
</t>
</t>
</templates>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="res_config_edition">
<t t-jquery=".user-heading h3" t-operation="replace">
<h3>
odooApp <t t-esc="widget.server_version"/> (Sunpop.cn Edition)
</h3>
</t>
<t t-jquery=".user-o_web_settings_compact_subtitle small" t-operation="replace">
<small><a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licensed</a></small>
</t>
</t>
</templates>