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
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.35
_commit: v1.43
_src_path: https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub
convert_readme_fragments_to_markdown: true
enable_checklog_odoo: true
generate_requirements_txt: true
Expand All @@ -17,6 +16,7 @@ odoo_test_flavor: Both
odoo_version: 19.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
postgres_image: ''
rebel_module_groups: []
repo_description: "Management Information System reports for Odoo: easily build super\
\ fast,\nbeautiful, custom reports such as P&L, Balance Sheets and more.\n\nThis\
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: pre-commit

on:
Expand All @@ -16,7 +17,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: 'pip'
cache-dependency-path: '.pre-commit-config.yaml'
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ jobs:
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- name: Upload screenshots from JS tests
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }}
path: /tmp/odoo_tests/${{ env.PGDATABASE }}
if-no-files-found: ignore
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
10 changes: 7 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^mis_builder/|
^mis_builder_budget/|
^mis_builder_demo/|
# END NOT INSTALLABLE ADDONS
Expand All @@ -24,7 +23,7 @@ exclude: |
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
python: python3.12
node: "22.9.0"
repos:
- repo: local
Expand All @@ -41,6 +40,11 @@ repos:
entry: found a en.po file
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- id: obsolete dotfiles
name: obsolete dotfiles
entry: found obsolete files; remove them
files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md|\.prettierrc\.yml|\.eslintrc\.yml)$'
language: fail
- repo: https://github.com/sbidoul/whool
rev: v1.3
hooks:
Expand All @@ -63,7 +67,7 @@ repos:
- --convert-fragments-to-markdown
- id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.1.6
rev: v0.1.7
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
Expand Down
9 changes: 0 additions & 9 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,11 @@ enable=anomalous-backslash-in-string,
no-write-in-compute,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
create-user-wo-reset-password,
dangerous-filter-wo-user,
deprecated-module,
file-not-used,
invalid-commit,
missing-manifest-dependency,
missing-newline-extrafiles,
missing-readme,
no-utf8-coding-comment,
odoo-addons-relative-import,
old-api7-method-defined,
redefined-builtin,
too-complex,
unnecessary-utf8-coding-comment,
manifest-external-assets


Expand Down
10 changes: 0 additions & 10 deletions CONTRIBUTING.md

This file was deleted.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# MIS Builder

[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)

# MIS Builder
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=19.0)
[![Pre-commit Status](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml/badge.svg?branch=19.0)](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml?query=branch%3A19.0)
[![Build Status](https://github.com/OCA/mis-builder/actions/workflows/test.yml/badge.svg?branch=19.0)](https://github.com/OCA/mis-builder/actions/workflows/test.yml?query=branch%3A19.0)
Expand Down Expand Up @@ -47,11 +50,17 @@ Here are some presentations:

[//]: # (addons)

Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[mis_builder](mis_builder/) | 19.0.1.0.1 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Build 'Management Information System' Reports and Dashboards


Unported addons
---------------
addon | version | maintainers | summary
--- | --- | --- | ---
[mis_builder](mis_builder/) | 18.0.1.8.0 (unported) | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Build 'Management Information System' Reports and Dashboards
[mis_builder_budget](mis_builder_budget/) | 18.0.2.0.0 (unported) | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Create budgets for MIS reports
[mis_builder_demo](mis_builder_demo/) | 18.0.1.0.0 (unported) | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Demo addon for MIS Builder

Expand Down
2 changes: 2 additions & 0 deletions checklog-odoo.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[checklog-odoo]
ignore=
WARNING.* 0 failed, 0 error\(s\).*
WARNING .* Killing chrome descendants-or-self .*
WARNING.* Missing widget: res_partner_many2one for field of type many2one.*
12 changes: 6 additions & 6 deletions mis_builder/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MIS Builder
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:348d965e2a09fab00a015432f994ba12048c05a1387271683d815753eae84af5
!! source digest: sha256:0c70f530a354972bed3c22179096002dbe4293a292c63db276d8b9c13ec4e6db
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand All @@ -21,13 +21,13 @@ MIS Builder
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github
:target: https://github.com/OCA/mis-builder/tree/18.0/mis_builder
:target: https://github.com/OCA/mis-builder/tree/19.0/mis_builder
:alt: OCA/mis-builder
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/mis-builder-18-0/mis-builder-18-0-mis_builder
:target: https://translation.odoo-community.org/projects/mis-builder-19-0/mis-builder-19-0-mis_builder
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=18.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand Down Expand Up @@ -723,7 +723,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/mis-builder/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/OCA/mis-builder/issues/new?body=module:%20mis_builder%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/mis-builder/issues/new?body=module:%20mis_builder%0Aversion:%2019.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.

Expand Down Expand Up @@ -790,6 +790,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-sbidoul|

This module is part of the `OCA/mis-builder <https://github.com/OCA/mis-builder/tree/18.0/mis_builder>`_ project on GitHub.
This module is part of the `OCA/mis-builder <https://github.com/OCA/mis-builder/tree/19.0/mis_builder>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 3 additions & 3 deletions mis_builder/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

{
"name": "MIS Builder",
"version": "18.0.1.8.0",
"version": "19.0.1.0.1",
"category": "Reporting",
"summary": """
Build 'Management Information System' Reports and Dashboards
""",
"author": "ACSONE SA/NV, " "Odoo Community Association (OCA)",
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/mis-builder",
"depends": [
"account",
Expand Down Expand Up @@ -41,7 +41,7 @@
],
},
"qweb": ["static/src/xml/mis_report_widget.xml"],
"installable": False,
"installable": True,
"application": True,
"license": "AGPL-3",
"development_status": "Production/Stable",
Expand Down
30 changes: 29 additions & 1 deletion mis_builder/i18n/mis_builder.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -565,6 +565,8 @@ msgstr ""

#. module: mis_builder
#: model:ir.model.fields,field_description:mis_builder.field_add_mis_report_instance_dashboard_wizard__display_name
#: model:ir.model.fields,field_description:mis_builder.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_kpi_data__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_report__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_instance__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_instance_annotation__display_name
Expand All @@ -576,6 +578,8 @@ msgstr ""
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_style__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_subkpi__display_name
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_subreport__display_name
#: model:ir.model.fields,field_description:mis_builder.field_prorata_read_group_mixin__display_name
#: model:ir.model.fields,field_description:mis_builder.field_report_mis_builder_mis_report_instance_xlsx__display_name
msgid "Display Name"
msgstr ""

Expand Down Expand Up @@ -808,6 +812,8 @@ msgstr ""

#. module: mis_builder
#: model:ir.model.fields,field_description:mis_builder.field_add_mis_report_instance_dashboard_wizard__id
#: model:ir.model.fields,field_description:mis_builder.field_ir_actions_report__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_kpi_data__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_report__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_instance__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_instance_annotation__id
Expand All @@ -819,6 +825,8 @@ msgstr ""
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_style__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_subkpi__id
#: model:ir.model.fields,field_description:mis_builder.field_mis_report_subreport__id
#: model:ir.model.fields,field_description:mis_builder.field_prorata_read_group_mixin__id
#: model:ir.model.fields,field_description:mis_builder.field_report_mis_builder_mis_report_instance_xlsx__id
msgid "ID"
msgstr ""

Expand Down Expand Up @@ -967,6 +975,11 @@ msgstr ""
msgid "Layout"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__divider__1e6
msgid "M"
msgstr ""

#. module: mis_builder
#: model:ir.model,name:mis_builder.model_report_mis_builder_mis_report_instance_xlsx
msgid "MIS Builder XLSX report"
Expand Down Expand Up @@ -1753,11 +1766,21 @@ msgstr ""
msgid "from %(date_from)s to %(date_to)s"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__divider__1e3
msgid "k"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__font_size__large
msgid "large"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__divider__1e-3
msgid "m"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__font_size__medium
msgid "medium"
Expand Down Expand Up @@ -1811,3 +1834,8 @@ msgstr ""
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__font_size__xx-small
msgid "xx-small"
msgstr ""

#. module: mis_builder
#: model:ir.model.fields.selection,name:mis_builder.selection__mis_report_style__divider__1e-6
msgid "µ"
msgstr ""
40 changes: 0 additions & 40 deletions mis_builder/migrations/18.0.1.3.0/post-migration.py

This file was deleted.

Loading