update odoo customize

This commit is contained in:
ivan deng
2023-02-06 15:09:33 +08:00
parent 99129271f3
commit 3cca087168
9 changed files with 112 additions and 115 deletions

View File

@@ -22,56 +22,21 @@
</div>
</group>
<group string="User Menu">
<div class="row mt16 o_settings_container" name="user_menu_show_hide">
<div class="col-12 col-lg-6 o_setting_box">
<div>
<field name="app_show_lang"/>
<label for="app_show_lang"/>
</div>
<div>
<field name="app_show_debug"/>
<label for="app_show_debug"/>
</div>
<div>
<field name="app_show_documentation"/>
<label for="app_show_documentation"/>
</div>
<div>
<field name="app_show_documentation_dev"/>
<label for="app_show_documentation_dev"/>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div>
<field name="app_show_support"/>
<label for="app_show_support"/>
</div>
<div>
<field name="app_show_account"/>
<label for="app_show_account"/>
</div>
<div invisible="1">
<field name="app_show_enterprise"/>
<label for="app_show_enterprise"/>
</div>
<div invisible="1">
<field name="app_show_share"/>
<label for="app_show_share"/>
</div>
<div>
<field name="app_show_poweredby"/>
<label for="app_show_poweredby"/>
</div>
<div>
<field name="group_show_author_in_apps"/>
<label for="group_show_author_in_apps"/>
</div>
<div>
<field name="module_odoo_referral"/>
<label for="module_odoo_referral"/>
</div>
</div>
</div>
<group>
<field name="app_show_lang"/>
<field name="app_show_debug"/>
<field name="app_show_documentation"/>
<field name="app_show_documentation_dev"/>
<field name="app_show_support"/>
<field name="app_show_account"/>
</group>
<group>
<field name="app_show_enterprise"/>
<field name="app_show_share"/>
<field name="app_show_poweredby"/>
<field name="group_show_author_in_apps"/>
<field name="module_odoo_referral"/>
</group>
</group>
<group string="User Menu Content">
<label for="app_documentation_url"/>
@@ -144,7 +109,7 @@
</div>
<div class="col-12 col-lg-12 mb4">
<span class="col-3 col-lg-2 text-left">
Accounting <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." groups="base.group_multi_company"/>
Accounting
</span>
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
confirm="Please confirm to delete the select data?" class="oe_highlight"/>

View File

@@ -19,10 +19,7 @@
<field name="binding_model_id" ref="base.model_ir_module_module" />
<field name="model_id" ref="base.model_ir_module_module" />
<field name="state">code</field>
<field name="code">
if records:
records.module_multi_refresh_po()
</field>
<field name="code">action=records.module_multi_refresh_po()</field>
</record>
<record id="action_server_module_multi_get_po" model="ir.actions.act_window">