res_config_settings_views.xml 1.2 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="res_config_settings_view_form" model="ir.ui.view">
  4. <field name="name">res.config.settings.view.form.inherit.microsoft.calendar</field>
  5. <field name="model">res.config.settings</field>
  6. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  7. <field name="arch" type="xml">
  8. <div id="msg_module_microsoft_calendar" position="replace">
  9. <div class="content-group" attrs="{'invisible': [('module_microsoft_calendar','=',False)]}">
  10. <div class="mt16 row">
  11. <label for="cal_microsoft_client_id" string="Client ID" class="col-3 col-lg-3 o_light_label"/>
  12. <field name="cal_microsoft_client_id" nolabel="1"/>
  13. </div>
  14. <div class="mt16 row">
  15. <label for="cal_microsoft_client_secret" string="Client Secret" class="col-3 col-lg-3 o_light_label"/>
  16. <field name="cal_microsoft_client_secret" password="True" nolabel="1"/>
  17. </div>
  18. </div>
  19. </div>
  20. </field>
  21. </record>
  22. </odoo>