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

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="DashboardApps">
<t t-jquery=".o_web_settings_dashboard_pills" t-operation="replace">
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-rocket text-muted"/> App store</a>
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-picture-o text-muted"/> Theme store</a>
</t>
</t>
<!-- 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,10 @@
<?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 Enterprise Edition)
</h3>
</t>
</t>
</templates>