mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 21:01:48 +00:00
50 lines
2.3 KiB
XML
50 lines
2.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<!-- Copyright 2018 Eficent Business and IT Consulting Services, S.L.
|
||
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -->
|
||
|
<flectra>
|
||
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||
|
<field
|
||
|
name="name"
|
||
|
>res.config.settings.view.form.inherit.partner_partner_industry_secondary</field>
|
||
|
<field name="model">res.config.settings</field>
|
||
|
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<div id="contacts_settings" position='inside'>
|
||
|
<div class="row mt16 o_settings_container">
|
||
|
<div class="col-lg-6 o_setting_box">
|
||
|
<div class="o_setting_left_pane">
|
||
|
<field name="group_use_partner_industry_for_person" />
|
||
|
</div>
|
||
|
<div
|
||
|
class="o_setting_right_pane"
|
||
|
id="partner_industry_secondary_show_form_settings"
|
||
|
>
|
||
|
<label
|
||
|
string="Enable industries for individuals"
|
||
|
for="group_use_partner_industry_for_person"
|
||
|
/>
|
||
|
<div class="text-muted">
|
||
|
Enable industries for individuals
|
||
|
</div>
|
||
|
<div class="content-group">
|
||
|
<div
|
||
|
class="mt16"
|
||
|
attrs="{'invisible': [('group_use_partner_industry_for_person', '=', False)]}"
|
||
|
>
|
||
|
<button
|
||
|
name="%(base.res_partner_industry_action)d"
|
||
|
icon="fa-arrow-right"
|
||
|
type="action"
|
||
|
string="Industries"
|
||
|
class="btn-link"
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</field>
|
||
|
</record>
|
||
|
</flectra>
|