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.

107 lines
5.3 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>
  81. <div class="row mt16 o_settings_container">
  82. <div class="col-xs-12 col-md-6 o_setting_box">
  83. <div class="o_setting_left_pane">
  84. <field name="module_agreement_stock"/>
  85. </div>
  86. <div class="o_setting_right_pane">
  87. <label string="Stock"/>
  88. <div class="text-muted">
  89. Link your pickings to an agreement
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </xpath>
  96. </field>
  97. </record>
  98. <act_window id="action_agreement_config"
  99. name="Settings"
  100. res_model="res.config.settings"
  101. view_mode="form"
  102. target="inline"
  103. context="{'module': 'agreement'}"/>
  104. </odoo>