|
@ -1,15 +1,14 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<!-- © 2015 Antiun Ingenieria S.L. - Antonio Espinosa |
|
|
<!-- © 2015 Antiun Ingenieria S.L. - Antonio Espinosa |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> |
|
|
<openerp> |
|
|
|
|
|
<data> |
|
|
|
|
|
|
|
|
<odoo> |
|
|
|
|
|
|
|
|
<record id="view_general_configuration" model="ir.ui.view"> |
|
|
<record id="view_general_configuration" model="ir.ui.view"> |
|
|
<field name="name">Add partner_names_order config parameter</field> |
|
|
<field name="name">Add partner_names_order config parameter</field> |
|
|
<field name="model">base.config.settings</field> |
|
|
<field name="model">base.config.settings</field> |
|
|
<field name="inherit_id" ref="base_setup.view_general_configuration"/> |
|
|
<field name="inherit_id" ref="base_setup.view_general_configuration"/> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<xpath expr="//label[@string='Email']/.." position='after'> |
|
|
|
|
|
|
|
|
<xpath expr="//label[@name='email_label']/.." position='after'> |
|
|
<group> |
|
|
<group> |
|
|
<label for="partner_names_order" /> |
|
|
<label for="partner_names_order" /> |
|
|
<div> |
|
|
<div> |
|
@ -18,7 +17,7 @@ |
|
|
<field name="partner_names_order_changed" invisible="1"/> |
|
|
<field name="partner_names_order_changed" invisible="1"/> |
|
|
<button name="action_recalculate_partners_name" |
|
|
<button name="action_recalculate_partners_name" |
|
|
string="Recalculate names" |
|
|
string="Recalculate names" |
|
|
icon="gtk-execute" |
|
|
|
|
|
|
|
|
icon="fa-play" |
|
|
type="object" |
|
|
type="object" |
|
|
help="Recalculate names for all partners. This process could take so much time if there are more than 10,000 active partners" |
|
|
help="Recalculate names for all partners. This process could take so much time if there are more than 10,000 active partners" |
|
|
attrs="{'invisible': [('partner_names_order_changed', '=', True)]}"/> |
|
|
attrs="{'invisible': [('partner_names_order_changed', '=', True)]}"/> |
|
@ -29,6 +28,4 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</data> |
|
|
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
</odoo> |