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.

161 lines
8.3 KiB

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