Skip to content

Commit 248ffea

Browse files
committed
[REF] mis_builder: create dedicated 'MIS Reports' Entry menu for mis_builder application
1 parent 33d539f commit 248ffea

File tree

7 files changed

+88
-84
lines changed

7 files changed

+88
-84
lines changed

mis_builder/README.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
===========
62
MIS Builder
73
===========
@@ -17,7 +13,7 @@ MIS Builder
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Production/Stable
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github
@@ -59,16 +55,16 @@ Usage
5955

6056
To configure this module, you need to:
6157

62-
- Go to Accounting > Configuration > MIS Reporting > MIS Report
58+
- Go to MIS Reports > Configuration > MIS Reporting > MIS Report
6359
Templates where you can create report templates by defining KPI's.
6460
KPI's constitute the rows of your reports. Such report templates are
6561
time independent.
6662

6763
|image1|
6864

69-
- Then in Accounting > Reports > MIS Reporting > MIS Reports you can
70-
create report instance by binding the templates to time periods, hence
71-
defining the columns of your reports.
65+
- Then in MIS Reports > Reporting > MIS Reports you can create report
66+
instance by binding the templates to time periods, hence defining the
67+
columns of your reports.
7268

7369
|image2|
7470

mis_builder/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
],
1919
"data": [
2020
"wizard/mis_builder_dashboard.xml",
21+
"views/menu.xml",
2122
"views/mis_report.xml",
2223
"views/mis_report_instance.xml",
2324
"views/mis_report_style.xml",

mis_builder/readme/USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
To configure this module, you need to:
22

3-
- Go to Accounting \> Configuration \> MIS Reporting \> MIS Report
3+
- Go to MIS Reports \> Configuration \> MIS Reporting \> MIS Report
44
Templates where you can create report templates by defining KPI's.
55
KPI's constitute the rows of your reports. Such report templates are
66
time independent.
77

88
![](https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_template.png)
99

10-
- Then in Accounting \> Reports \> MIS Reporting \> MIS Reports you can
10+
- Then in MIS Reports \> Reporting \> MIS Reports you can
1111
create report instance by binding the templates to time periods, hence
1212
defining the columns of your reports.
1313

mis_builder/static/description/index.html

Lines changed: 54 additions & 60 deletions
Large diffs are not rendered by default.

mis_builder/views/menu.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<odoo>
3+
<menuitem
4+
name="MIS Reports"
5+
id="menu_main_mis_builder"
6+
sequence="20"
7+
web_icon="mis_builder,static/description/icon.png"
8+
/>
9+
10+
<menuitem
11+
id="mis_report_finance_menu"
12+
parent="menu_main_mis_builder"
13+
name="Reporting"
14+
sequence="10"
15+
groups="account.group_account_manager"
16+
/>
17+
18+
<menuitem
19+
id="mis_report_conf_menu"
20+
parent="menu_main_mis_builder"
21+
name="Configuration"
22+
sequence="100"
23+
/>
24+
</odoo>

mis_builder/views/mis_report.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,7 @@
284284
<field name="view_mode">list,form</field>
285285
<field name="path">mis-report-templates</field>
286286
</record>
287-
<menuitem
288-
id="mis_report_conf_menu"
289-
parent="account.menu_finance_configuration"
290-
name="MIS Reporting"
291-
sequence="90"
292-
/>
287+
293288
<menuitem
294289
id="mis_report_view_menu"
295290
parent="mis_report_conf_menu"

mis_builder/views/mis_report_instance.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,7 @@
220220
<field name="domain">[('temporary', '=', False)]</field>
221221
<field name="path">mis-report-instances</field>
222222
</record>
223-
<menuitem
224-
id="mis_report_finance_menu"
225-
parent="account.menu_finance_reports"
226-
name="MIS Reporting"
227-
sequence="101"
228-
groups="account.group_account_manager"
229-
/>
223+
230224
<menuitem
231225
id="mis_report_instance_view_menu"
232226
parent="mis_report_finance_menu"

0 commit comments

Comments
 (0)