mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
clear
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
<?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_system_name.js"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,106 +0,0 @@
|
||||
<?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 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>
|
||||
<separator string="White Label Setting"/>
|
||||
<group string="System Name">
|
||||
<label for="app_system_name"/>
|
||||
<div>
|
||||
<field name="app_system_name"/>
|
||||
</div>
|
||||
<label string="Online Support"/>
|
||||
<div>
|
||||
<a href="http://www.sunpop.cn" target="_blank">Visit our website for more apps. >>Sunpop.cn</a>
|
||||
</div>
|
||||
</group>
|
||||
<group string="User Menu">
|
||||
<label string="Item to Show"/>
|
||||
<div name="user_menu_show_hide">
|
||||
<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>
|
||||
<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>
|
||||
</group>
|
||||
<group string="User Menu Content">
|
||||
<label for="app_documentation_url"/>
|
||||
<div>
|
||||
<field name="app_documentation_url"/>
|
||||
</div>
|
||||
<label for="app_documentation_dev_url"/>
|
||||
<div>
|
||||
<field name="app_documentation_dev_url"/>
|
||||
</div>
|
||||
<label for="app_support_url"/>
|
||||
<div>
|
||||
<field name="app_support_url"/>
|
||||
</div>
|
||||
<label for="app_account_title"/>
|
||||
<div>
|
||||
<field name="app_account_title"/>
|
||||
</div>
|
||||
<label for="app_account_url"/>
|
||||
<div>
|
||||
<field name="app_account_url"/>
|
||||
</div>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_app_theme_config" model="ir.actions.act_window">
|
||||
<field name="name">odooApp Settings</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_theme_config"
|
||||
parent="base.menu_administration"
|
||||
sequence="1"
|
||||
action="action_app_theme_config"
|
||||
groups="base.group_system"/>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user