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.

49 lines
2.3 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2018 Eficent Business and IT Consulting Services, S.L.
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -->
  4. <odoo>
  5. <record id="res_config_settings_view_form" model="ir.ui.view">
  6. <field
  7. name="name"
  8. >res.config.settings.view.form.inherit.partner_partner_industry_secondary</field>
  9. <field name="model">res.config.settings</field>
  10. <field name="inherit_id" ref="base.res_config_settings_view_form" />
  11. <field name="arch" type="xml">
  12. <div id="contacts_settings" position='inside'>
  13. <div class="row mt16 o_settings_container">
  14. <div class="col-lg-6 o_setting_box">
  15. <div class="o_setting_left_pane">
  16. <field name="group_use_partner_industry_for_person" />
  17. </div>
  18. <div
  19. class="o_setting_right_pane"
  20. id="partner_industry_secondary_show_form_settings"
  21. >
  22. <label
  23. string="Enable industries for individuals"
  24. for="group_use_partner_industry_for_person"
  25. />
  26. <div class="text-muted">
  27. Enable industries for individuals
  28. </div>
  29. <div class="content-group">
  30. <div
  31. class="mt16"
  32. attrs="{'invisible': [('group_use_partner_industry_for_person', '=', False)]}"
  33. >
  34. <button
  35. name="%(base.res_partner_industry_action)d"
  36. icon="fa-arrow-right"
  37. type="action"
  38. string="Industries"
  39. class="btn-link"
  40. />
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </field>
  48. </record>
  49. </odoo>