odoo-module-colors_customiz.../views/interface_conf.xml

43 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_interface_config" model="ir.ui.view">
<field name="name">interface settings</field>
<field name="model">interface.conf</field>
<field name="arch" type="xml">
<form string="Interface Settings" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
or
<button string="Cancel" type="object" name="cancel" special='cancel' class="oe_link"/>
</header>
<div name="inter_settings_1">
<separator string="User Preferences"/>
<group>
<field name='company_id' groups="base.group_multi_company"/>
<field name='user_own_theme'/>
</group>
<separator string="Mail Customizations"/>
<group>
<field name="custom_email_footer" placeholder="Put here a text instead of standard 'Sent by.. using Odoo'. E.g. 'Sent by MyComp'. You may also use any HTML tags here like 'a','style' or 'href'. Leave it empty to remove the footer at all"/>
<field name="footer_link" placeholder="Put here a text in a format 'TEXT * TEXT'. E.g. 'Access *' would be converted to 'Access Lead Super'. HTML tags are also of use. Leave it empty to remove the link at all"/>
</group>
</div>
</form>
</field>
</record>
<record id="action_interface_config" model="ir.actions.act_window">
<field name="name">Settings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">interface.conf</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem id="interface_settings_config" name="Settings" parent="colors_customization.colors_customization_root" action="action_interface_config" sequence="25" />
</data>
</openerp>