mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update my app
This commit is contained in:
16
app_web_enterprise/static/src/xml/base.xml
Normal file
16
app_web_enterprise/static/src/xml/base.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-extend="HomeMenu.Content">
|
||||
<t t-jquery=".o_home_menu_footer" t-operation="inner">
|
||||
<img src='/web/binary/company_logo' alt="Logo"/>
|
||||
</t>
|
||||
</t>
|
||||
<!-- 菜单有下拉箭头-->
|
||||
<t t-inherit="web.Dropdown" t-inherit-mode="extension">
|
||||
<xpath expr="//div[hasclass('o-dropdown')]" position="attributes">
|
||||
<attribute name="t-att-class">{show: state.open}</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
13
app_web_enterprise/static/src/xml/res_config_edition.xml
Normal file
13
app_web_enterprise/static/src/xml/res_config_edition.xml
Normal 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>
|
||||
Reference in New Issue
Block a user