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.

41 lines
1.8 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
  4. <odoo>
  5. <record id="res_config_settings_view_form" model="ir.ui.view">
  6. <field name="name">Allow to enable custom information</field>
  7. <field name="model">res.config.settings</field>
  8. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//div[hasclass('app_settings_block')][@data-key='general_settings']" position="inside">
  11. <h2>Custom Information</h2>
  12. <div class="row mt16 o_settings_container" name="base_information">
  13. <div class="col-12 col-lg-6 o_setting_box">
  14. <div class="o_setting_left_pane">
  15. <field name="group_custom_info_partner" />
  16. </div>
  17. <div class="o_setting_right_pane">
  18. <label for="group_custom_info_partner"/>
  19. <div class="text-muted">
  20. Allow all employees to manage custom information
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-12 col-lg-6 o_setting_box">
  25. <div class="o_setting_left_pane">
  26. <field name="group_custom_info_manager" />
  27. </div>
  28. <div class="o_setting_right_pane">
  29. <label for="group_custom_info_manager"/>
  30. <div class="text-muted">
  31. Add a tab in the partners form to edit custom information
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </xpath>
  37. </field>
  38. </record>
  39. </odoo>