Skip to content

Commit

Permalink
[IMP] Change base_config_view.xml
Browse files Browse the repository at this point in the history
Co-authored-by: Aromera <aromera@astrohms.com>
  • Loading branch information
moitabenfdz and AntoniRomera committed Dec 4, 2023
1 parent f4f2e69 commit 4725bd6
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions partner_firstname/views/base_config_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,20 @@
<field name="inherit_id" ref="base_setup.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='companies']" position='after'>
<h2>Partner Names Order</h2>
<div class="row mt16 o_settings_container" name="partner_names_order">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<field name="partner_names_order" />
<field name="partner_names_order_changed" invisible="1" />
<button
name="action_recalculate_partners_name"
string="Recalculate names"
icon="fa-play"
type="object"
help="Recalculate names for all partners. This process could take so much time if there are more than 10,000 active partners"
invisible="not partner_names_order_changed"
/>
</div>
</div>
</div>
<block title="Partner Names Order" name="partner_names_order_setting_container">
<setting>
<field name="partner_names_order" nolabel="1" />
<field name="partner_names_order_changed" invisible="1" />
<button
name="action_recalculate_partners_name"
string="Recalculate names"
icon="fa-play"
type="object"
help="Recalculate names for all partners. This process could take so much time if there are more than 10,000 active partners"
invisible="not partner_names_order_changed"
/>
</setting>
</block>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 4725bd6

Please sign in to comment.