You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.8 KiB
41 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
|
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
|
|
<odoo>
|
|
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">Allow to enable custom information</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[hasclass('app_settings_block')][@data-key='general_settings']" position="inside">
|
|
<h2>Custom Information</h2>
|
|
<div class="row mt16 o_settings_container" name="base_information">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="group_custom_info_partner" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="group_custom_info_partner"/>
|
|
<div class="text-muted">
|
|
Allow all employees to manage custom information
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="group_custom_info_manager" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="group_custom_info_manager"/>
|
|
<div class="text-muted">
|
|
Add a tab in the partners form to edit custom information
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|