mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-25 05:41:47 +00:00
36 lines
1.9 KiB
XML
36 lines
1.9 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 (http://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</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[@name='multi_company']" position="after">
|
||
|
<h2>Partner Industries</h2>
|
||
|
<div class="row mt16 o_settings_container" name="partner_industries">
|
||
|
<div class="col-xs-12 col-md-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">
|
||
|
<label string="Industry for individual" 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>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
</flectra>
|