res_config_settings_views.xml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <record id="res_config_settings_view_form" model="ir.ui.view">
  5. <field name="name">res.config.settings.view.form.inherit.portal</field>
  6. <field name="model">res.config.settings</field>
  7. <field name="priority" eval="40"/>
  8. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//button[@name=%(base.action_apikeys_admin)d]//ancestor::div[hasclass('o_setting_box')]" position="inside">
  11. <div groups="base.group_no_one">
  12. <div class="o_setting_left_pane">
  13. <field name="portal_allow_api_keys"/>
  14. </div>
  15. <div class="o_setting_right_pane">
  16. <label for="portal_allow_api_keys"/>
  17. <div class="text-muted">
  18. Let your customers create developer API keys
  19. </div>
  20. </div>
  21. </div>
  22. </xpath>
  23. </field>
  24. </record>
  25. </data>
  26. </odoo>