mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update for desc 18
This commit is contained in:
8
app_web_enterprise/static/src/xml/base.xml
Normal file
8
app_web_enterprise/static/src/xml/base.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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>-->
|
||||
</templates>
|
||||
30
app_web_enterprise/static/src/xml/form.xml
Normal file
30
app_web_enterprise/static/src/xml/form.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<!-- tip用 *-->
|
||||
<t t-name="app_web_enterprise.FormLabel" t-inherit="web.FormLabel" t-inherit-mode="extension">
|
||||
<xpath expr="//label" position="replace">
|
||||
<label class="o_form_label" t-att-for="props.id" t-att-class="className" >
|
||||
<t t-esc="props.string"/>
|
||||
<sup class="btn-link p-1" t-if="hasTooltip" t-att="{'data-tooltip-template': 'web.FieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}">*</sup>
|
||||
</label>
|
||||
</xpath>
|
||||
</t>
|
||||
<!-- 更紧凑,先不处理 保存增加字样-->
|
||||
<!-- <t t-name="app_web_enterprise.FormStatusIndicator" t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">-->
|
||||
<!-- <xpath expr="//i[hasclass('fa-cloud-upload')]" position="after">-->
|
||||
<!-- Save-->
|
||||
<!-- </xpath>-->
|
||||
<!-- <xpath expr="//i[hasclass('fa-undo')]" position="after">-->
|
||||
<!-- Discard-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </t>-->
|
||||
<!-- 17不需要,默认就是创建移到左边-->
|
||||
<!-- <t t-name="app_web_enterprise.FormControlPanel" t-inherit="web.FormControlPanel" t-inherit-mode="extension">-->
|
||||
<!-- <xpath expr="//div[hasclass('o_cp_bottom_right')]//t[3]" position="replace"/>-->
|
||||
<!--<!– <xpath expr="//t[t-slot='control-panel-create-button']" position="replace"/>–>-->
|
||||
<!--<!– <xpath expr="//div[hasclass('o_cp_top_left')]" position="replace"/>–>-->
|
||||
<!-- <xpath expr="//div[hasclass('o_cp_top_left')]" position="inside">-->
|
||||
<!-- <t t-slot="control-panel-create-button" />-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </t>-->
|
||||
</templates>
|
||||
10
app_web_enterprise/static/src/xml/res_config_edition.xml
Normal file
10
app_web_enterprise/static/src/xml/res_config_edition.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-inherit="web.res_config_edition" t-inherit-mode="extension">
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h3 class="px-0">
|
||||
Odoo <t t-esc="serverVersion"/> (<a target="_blank" href="https://www.odooai.cn" style="text-decoration: underline;">odooai.cn</a> Edition)
|
||||
</h3>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user