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.

149 lines
7.6 KiB

6 years ago
  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_fieldservice_agreement"/>
  39. </div>
  40. <div class="o_setting_right_pane">
  41. <label string="Field Service"/>
  42. <div class="text-muted">
  43. Link your Field Service orders to an agreement
  44. </div>
  45. </div>
  46. </div>
  47. <div class="col-xs-12 col-md-6 o_setting_box">
  48. <div class="o_setting_left_pane">
  49. <field name="module_fieldservice_equipment_agreement"/>
  50. </div>
  51. <div class="o_setting_right_pane">
  52. <label string="Field Service Equipments"/>
  53. <div class="text-muted">
  54. Link your Field Service equipments to an agreement
  55. </div>
  56. </div>
  57. </div>
  58. <div class="col-xs-12 col-md-6 o_setting_box">
  59. <div class="o_setting_left_pane">
  60. <field name="module_agreement_stock"/>
  61. </div>
  62. <div class="o_setting_right_pane">
  63. <label string="Inventory"/>
  64. <div class="text-muted">
  65. Link your transfers to an agreement
  66. </div>
  67. </div>
  68. </div>
  69. <div class="col-xs-12 col-md-6 o_setting_box">
  70. <div class="o_setting_left_pane">
  71. <field name="module_agreement_rma"/>
  72. </div>
  73. <div class="o_setting_right_pane">
  74. <label string="Returns"/>
  75. <div class="text-muted">
  76. Link your returns to an agreement
  77. </div>
  78. </div>
  79. </div>
  80. <div class="col-xs-12 col-md-6 o_setting_box">
  81. <div class="o_setting_left_pane">
  82. <field name="module_agreement_maintenance"/>
  83. </div>
  84. <div class="o_setting_right_pane">
  85. <label string="Maintenance"/>
  86. <div class="text-muted">
  87. Manage maintenance agreements and contracts
  88. </div>
  89. </div>
  90. </div>
  91. <div class="col-xs-12 col-md-6 o_setting_box">
  92. <div class="o_setting_left_pane">
  93. <field name="module_agreement_mrp"/>
  94. </div>
  95. <div class="o_setting_right_pane">
  96. <label string="Manufacturing"/>
  97. <div class="text-muted">
  98. Link your manufacturing orders to an agreement
  99. </div>
  100. </div>
  101. </div>
  102. <div class="col-xs-12 col-md-6 o_setting_box">
  103. <div class="o_setting_left_pane">
  104. <field name="module_agreement_repair"/>
  105. </div>
  106. <div class="o_setting_right_pane">
  107. <label string="Repair"/>
  108. <div class="text-muted">
  109. Link your repair orders to an agreement
  110. </div>
  111. </div>
  112. </div>
  113. <div class="col-xs-12 col-md-6 o_setting_box">
  114. <div class="o_setting_left_pane">
  115. <field name="module_agreement_project"/>
  116. </div>
  117. <div class="o_setting_right_pane">
  118. <label string="Project"/>
  119. <div class="text-muted">
  120. Link your projects and tasks to an agreement
  121. </div>
  122. </div>
  123. </div>
  124. <div class="col-xs-12 col-md-6 o_setting_box">
  125. <div class="o_setting_left_pane">
  126. <field name="module_helpdesk_agreement"/>
  127. </div>
  128. <div class="o_setting_right_pane">
  129. <label string="Helpdesk"/>
  130. <div class="text-muted">
  131. Link your Helpdesk tickets to an agreement
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </xpath>
  138. </field>
  139. </record>
  140. <act_window id="action_agreement_config"
  141. name="Settings"
  142. res_model="res.config.settings"
  143. view_mode="form"
  144. target="inline"
  145. context="{'module': 'agreement'}"/>
  146. </odoo>