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.

74 lines
3.6 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>Operations</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="group_uom"/>
  20. </div>
  21. <div class="o_setting_right_pane">
  22. <label for="group_uom"/>
  23. <div class="text-muted">
  24. Sell and purchase products in different units of measure
  25. </div>
  26. <div class="content-group">
  27. <div class="mt16" attrs="{'invisible': [('group_uom', '=', False)]}">
  28. <button name="%(product.product_uom_form_action)d" icon="fa-arrow-right" type="action" string="Units Of Measure" class="btn-link"/>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <h2>Advanced Features</h2>
  35. <div class="row mt16 o_settings_container">
  36. <div class="col-xs-12 col-md-6 o_setting_box">
  37. <div class="o_setting_left_pane">
  38. <field name="module_agreement_maintenance"/>
  39. </div>
  40. <div class="o_setting_right_pane">
  41. <label string="Maintenance"/>
  42. <div class="text-muted">
  43. Manage maintenance agreements and contracts
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="row mt16 o_settings_container">
  49. <div class="col-xs-12 col-md-6 o_setting_box">
  50. <div class="o_setting_left_pane">
  51. <field name="module_agreement_mrp"/>
  52. </div>
  53. <div class="o_setting_right_pane">
  54. <label string="MRP"/>
  55. <div class="text-muted">
  56. Link your manufacturing orders to an agreement
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </xpath>
  63. </field>
  64. </record>
  65. <act_window id="action_agreement_config"
  66. name="Settings"
  67. res_model="res.config.settings"
  68. view_mode="form"
  69. target="inline"
  70. context="{'module': 'agreement'}"/>
  71. </odoo>