Files
odoo_source/addons/pad/views/res_config_view.xml
T
Yannick Tivisse 665781d5a8 [IMP] various: Move all configuration fields from res_company form to the related modules
=======
Purpose
=======

The company form should be heavily simplified. It's complex to have some settings on the company form, and others on the Settings menu of the related app. It would be much easier to have all settings in Settings menu (res.config) and nothing on the company, even if some of the Settings are multi company. (Stored on the company but set from the Settings menu).
2016-09-02 13:44:15 +02:00

23 lines
932 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_general_configuration_form_inherit_pad" model="ir.ui.view">
<field name="name">base.config.settings.form.inherit</field>
<field name="model">base.config.settings</field>
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='google']" position="before">
<group string="Pads">
<label for="pad_server"/>
<div>
<field name="pad_server" placeholder="e.g. beta.primarypad.com" class="oe_inline"/>
</div>
<label for="pad_key"/>
<div>
<field name="pad_key" class="oe_inline"/>
</div>
</group>
</xpath>
</field>
</record>
</odoo>