mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update
This commit is contained in:
13
app_odoo_dataclear/views/app_odoo_customize_view.xml
Normal file
13
app_odoo_dataclear/views/app_odoo_customize_view.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<template id="switch_language" name="switch_language assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/app_odoo_customize/static/src/css/app.css"/>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/switch_language.js"></script>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/customize_user_menu.js"></script>
|
||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
86
app_odoo_dataclear/views/app_theme_config_settings_view.xml
Normal file
86
app_odoo_dataclear/views/app_theme_config_settings_view.xml
Normal file
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_app_theme_config_settings" model="ir.ui.view">
|
||||
<field name="name">App Odoo Customize Settings</field>
|
||||
<field name="model">app.theme.config.settings</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="odooApp Customize Settings" class="oe_form_configuration">
|
||||
<header>
|
||||
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
||||
<button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/>
|
||||
</header>
|
||||
<group name="data-clean" string="Data Cleaning (Be careful to do that!)">
|
||||
<label string="Sales"/>
|
||||
<div>
|
||||
<button string="Delete All Sales Order" type="object" name="remove_sales"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="POS"/>
|
||||
<div>
|
||||
<button string="Delete All POS Order" type="object" name="remove_pos" confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="Purchase"/>
|
||||
<div>
|
||||
<button string="Delete All Purchase Order and Requisition" type="object" name="remove_purchase"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="MRP"/>
|
||||
<div>
|
||||
<button string="Delete All Manufacturing Order" type="object" name="remove_mrp"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
|
|
||||
<button string="Delete All BOM" type="object" name="remove_mrp_bom"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="Inventory"/>
|
||||
<div>
|
||||
<button string="Delete All Move/Picking/Package/Lot" type="object" name="remove_inventory"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="Accounting"/>
|
||||
<div>
|
||||
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<label string="Base Models"/>
|
||||
<div>
|
||||
<button string="Delete All Product" type="object" name="remove_product"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
|
|
||||
<button string="Delete All Product Attribute" type="object" name="remove_product_attribute"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
|
|
||||
<button string="Delete All Message" type="object" name="remove_message"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
|
|
||||
<button string="Delete All Workflow" type="object" name="remove_workflow"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_app_theme_config" model="ir.actions.act_window">
|
||||
<field name="name">odooApp Customize</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">app.theme.config.settings</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">inline</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_app_group"
|
||||
name="odooApp"
|
||||
parent="base.menu_administration"
|
||||
sequence="1"
|
||||
groups="base.group_system"/>
|
||||
<menuitem
|
||||
id="menu_app_theme_config"
|
||||
parent="menu_app_group"
|
||||
sequence="1"
|
||||
action="action_app_theme_config"
|
||||
groups="base.group_system"/>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user