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.

42 lines
1.8 KiB

  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.agreement</field>
  5. <field name="model">res.config.settings</field>
  6. <field name="priority" eval="40"/>
  7. <field name="inherit_id" ref="base.res_config_settings_view_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//div[hasclass('settings')]" position="inside">
  10. <div class="app_settings_block"
  11. data-string="Agreements"
  12. string="Agreements"
  13. data-key="agreement"
  14. groups="agreement.group_agreement_manager">
  15. <h2>Advanced Features</h2>
  16. <div class="row mt16 o_settings_container">
  17. <div class="col-xs-12 col-md-6 o_setting_box">
  18. <div class="o_setting_left_pane">
  19. <field name="module_agreement_maintenance"/>
  20. </div>
  21. <div class="o_setting_right_pane">
  22. <label string="Maintenance"/>
  23. <div class="text-muted">
  24. Manage maintenance agreements and contracts
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </xpath>
  31. </field>
  32. </record>
  33. <act_window id="action_agreement_config"
  34. name="Settings"
  35. res_model="res.config.settings"
  36. view_mode="form"
  37. target="inline"
  38. context="{'module': 'agreement'}"/>
  39. </odoo>