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.

105 lines
5.2 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_stock"/>
  39. </div>
  40. <div class="o_setting_right_pane">
  41. <label string="Inventory"/>
  42. <div class="text-muted">
  43. Link your pickings 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_agreement_maintenance"/>
  50. </div>
  51. <div class="o_setting_right_pane">
  52. <label string="Maintenance"/>
  53. <div class="text-muted">
  54. Manage maintenance agreements and contracts
  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_mrp"/>
  61. </div>
  62. <div class="o_setting_right_pane">
  63. <label string="Manufacturing"/>
  64. <div class="text-muted">
  65. Link your manufacturing orders 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_repair"/>
  72. </div>
  73. <div class="o_setting_right_pane">
  74. <label string="Repair"/>
  75. <div class="text-muted">
  76. Link your repair orders 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_project"/>
  83. </div>
  84. <div class="o_setting_right_pane">
  85. <label string="Project"/>
  86. <div class="text-muted">
  87. Link your projects and tasks to an agreement
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </xpath>
  94. </field>
  95. </record>
  96. <act_window id="action_agreement_config"
  97. name="Settings"
  98. res_model="res.config.settings"
  99. view_mode="form"
  100. target="inline"
  101. context="{'module': 'agreement'}"/>
  102. </odoo>