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.

34 lines
1.4 KiB

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