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.

147 lines
4.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- Remove top menu from agreement module -->
  4. <!-- <delete model="ir.ui.menu" id="agreement.agreement_menu" /> -->
  5. <!-- Top menu item -->
  6. <menuitem
  7. name="Agreements"
  8. id="agreement.agreement_menu"
  9. web_icon="agreement_legal,static/description/icon.png"
  10. sequence="80"
  11. action="agreement_dashboard_agreement"
  12. groups="agreement_legal.group_agreement_user"/>
  13. <!-- Dashboard -->
  14. <menuitem
  15. name="Dashboard"
  16. id="agreement_dashboard"
  17. parent="agreement.agreement_menu"
  18. sequence="10"/>
  19. <menuitem
  20. name="Agreements"
  21. id="dashboard_agreements"
  22. parent="agreement_dashboard"
  23. sequence="10"
  24. action="agreement_dashboard_agreement"/>
  25. <!-- Operations -->
  26. <menuitem
  27. name="Operations"
  28. id="agreement_operations"
  29. parent="agreement.agreement_menu"
  30. sequence="20"/>
  31. <menuitem
  32. name="Agreements"
  33. id="operations_agreements"
  34. parent="agreement_operations"
  35. sequence="10"
  36. action="agreement_operations_agreement"/>
  37. <!-- Master Data -->
  38. <menuitem
  39. name="Master Data"
  40. id="agreement_masterdata"
  41. parent="agreement.agreement_menu"
  42. sequence="30"/>
  43. <menuitem
  44. name="Contents"
  45. id="agreement_data_contents"
  46. parent="agreement_masterdata"
  47. sequence="10"/>
  48. <menuitem
  49. name="Recitals"
  50. id="agreement_recitals"
  51. parent="agreement_data_contents"
  52. sequence="10"
  53. action="agreement_recital_action"/>
  54. <menuitem
  55. name="Clauses"
  56. id="agreement_clauses"
  57. parent="agreement_data_contents"
  58. sequence="20"
  59. action="partner_agreement_action_clause"/>
  60. <menuitem
  61. name="Sections"
  62. id="agreement_sections"
  63. parent="agreement_data_contents"
  64. sequence="30"
  65. action="partner_agreement_action_section"/>
  66. <menuitem
  67. name="Appendices"
  68. id="agreement_appendices"
  69. parent="agreement_data_contents"
  70. sequence="40"
  71. action="agreement_appendix_action"/>
  72. <menuitem
  73. name="Products"
  74. id="agreement_products"
  75. sequence="100"
  76. parent="agreement_masterdata"
  77. action="product.product_template_action"/>
  78. <!-- Reporting -->
  79. <menuitem
  80. name="Reporting"
  81. id="agreement_reporting"
  82. sequence="40"
  83. parent="agreement.agreement_menu"
  84. groups="agreement_legal.group_agreement_manager"/>
  85. <menuitem
  86. name="Agreements"
  87. id="agreement_agreement_reporting"
  88. sequence="10"
  89. parent="agreement_reporting"
  90. action="action_agreement_report_order"/>
  91. <!-- Configuration -->
  92. <menuitem
  93. name="Configuration"
  94. id="agreement_configuration"
  95. sequence="50"
  96. parent="agreement.agreement_menu"
  97. groups="agreement_legal.group_agreement_manager"/>
  98. <menuitem
  99. name="Settings"
  100. id="agreement_settings"
  101. sequence="10"
  102. parent="agreement_configuration"
  103. action="agreement_legal.action_agreement_config"/>
  104. <menuitem
  105. name="Templates"
  106. id="template"
  107. parent="agreement_configuration"
  108. sequence="20"
  109. action="partner_agreement_agreement_templates"/>
  110. <menuitem
  111. name="Renewal Types"
  112. id="agreement_renewaltype"
  113. parent="agreement_configuration"
  114. sequence="30"
  115. action="partner_agreement_action_renewaltype"/>
  116. <menuitem
  117. name="Increase Types"
  118. id="agreement_increamenttypes"
  119. parent="agreement_configuration"
  120. sequence="31"
  121. action="partner_agreement_action_increasetype"/>
  122. <menuitem
  123. name="Stages"
  124. id="agreement_stages"
  125. parent="agreement_configuration"
  126. sequence="40"
  127. action="partner_agreement_action_stage"/>
  128. <menuitem
  129. name="Types"
  130. id="agreement_types"
  131. parent="agreement_configuration"
  132. sequence="50"
  133. action="partner_agreement_action_type"/>
  134. <menuitem
  135. name="Sub-Types"
  136. id="agreement_subtypes"
  137. parent="agreement_configuration"
  138. sequence="60"
  139. action="partner_agreement_action_subtype"/>
  140. </odoo>