Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions budget_control_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
==========================
Base Budget Control Report
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a9283ecc66152478f5215fcaf52e14b74666d0604f9dc8ebcc9e05a661941d8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-ecosoft--odoo%2Fbudgeting-lightgray.png?logo=github
:target: https://github.com/ecosoft-odoo/budgeting/tree/15.0/budget_control_report
:alt: ecosoft-odoo/budgeting

|badge1| |badge2| |badge3|

This module is base budget report

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/ecosoft-odoo/budgeting/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/ecosoft-odoo/budgeting/issues/new?body=module:%20budget_control_report%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Ecosoft

Contributors
~~~~~~~~~~~~

* `Ecosoft <http://ecosoft.co.th>`__:

* Saran Lim. <saranl@ecosoft.co.th>

Maintainers
~~~~~~~~~~~

.. |maintainer-Saran440| image:: https://github.com/Saran440.png?size=40px
:target: https://github.com/Saran440
:alt: Saran440

Current maintainer:

|maintainer-Saran440|

This module is part of the `ecosoft-odoo/budgeting <https://github.com/ecosoft-odoo/budgeting/tree/15.0/budget_control_report>`_ project on GitHub.

You are welcome to contribute.
6 changes: 6 additions & 0 deletions budget_control_report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import wizard
from . import templates

# from . import report
26 changes: 26 additions & 0 deletions budget_control_report/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2025 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Base Budget Control Report",
"version": "15.0.1.0.0",
"author": "Ecosoft, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/ecosoft-odoo/budgeting",
"category": "Accounting",
"summary": "Report Budget Control",
"depends": [
"budget_control",
"report_xlsx_helper",
],
"data": [
"security/budget_security.xml",
"security/ir.model.access.csv",
"data/report_action.xml",
"wizard/budget_report_view.xml",
"wizard/budget_consumption_report_view.xml",
],
"installable": True,
"development_status": "Alpha",
"maintainers": ["Saran440"],
}
23 changes: 23 additions & 0 deletions budget_control_report/data/report_action.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- Budget Report -->
<record id="action_export_budget_report_xlsx" model="ir.actions.report">
<field name="name">Export Excel Budget</field>
<field name="model">budget.report.wizard</field>
<field name="type">ir.actions.report</field>
<field name="report_name">budget.report.wizard.xlsx</field>
<field name="report_type">xlsx</field>
<field name="print_report_name">object._get_report_base_filename()</field>
</record>

<!-- Budget Consumption -->
<record id="action_export_budget_consumption_xlsx" model="ir.actions.report">
<field name="name">Export Excel Budget Consumption</field>
<field name="model">budget.consumption.report.wizard</field>
<field name="type">ir.actions.report</field>
<field name="report_name">budget.consumption.xlsx</field>
<field name="report_type">xlsx</field>
<field name="print_report_name">object._get_report_base_filename()</field>
</record>

</odoo>
3 changes: 3 additions & 0 deletions budget_control_report/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Ecosoft <http://ecosoft.co.th>`__:

* Saran Lim. <saranl@ecosoft.co.th>
1 change: 1 addition & 0 deletions budget_control_report/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module is base budget report
11 changes: 11 additions & 0 deletions budget_control_report/security/budget_security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="group_export_excel_budget" model="res.groups">
<field name="name">Allow Export Excel Budget</field>
<field name="category_id" ref="base.module_category_hidden" />
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
</record>
</odoo>
3 changes: 3 additions & 0 deletions budget_control_report/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_budget_report_wizard,access_budget_report_wizard,model_budget_report_wizard,,1,1,1,1
access_budget_consumption_report_wizard,access_budget_consumption_report_wizard,model_budget_consumption_report_wizard,,1,1,1,1
Loading