update for desc 18

This commit is contained in:
Ivan Office
2024-08-20 01:06:46 +08:00
parent f77b6c4e58
commit dd9428527f
70 changed files with 643 additions and 41 deletions

View 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>

View 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"/>-->
<!--&lt;!&ndash; <xpath expr="//t[t-slot='control-panel-create-button']" position="replace"/>&ndash;&gt;-->
<!--&lt;!&ndash; <xpath expr="//div[hasclass('o_cp_top_left')]" position="replace"/>&ndash;&gt;-->
<!-- <xpath expr="//div[hasclass('o_cp_top_left')]" position="inside">-->
<!-- <t t-slot="control-panel-create-button" />-->
<!-- </xpath>-->
<!-- </t>-->
</templates>

View 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>