Skip to content

Commit

Permalink
[MIG] mis_builder_demo: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Aug 27, 2024
1 parent 98deed3 commit 754ef41
Show file tree
Hide file tree
Showing 13 changed files with 159 additions and 152 deletions.
1 change: 0 additions & 1 deletion .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_demo/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
99 changes: 51 additions & 48 deletions mis_builder_demo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ MIS Builder Demo
: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/16.0/mis_builder_demo
:target: https://github.com/OCA/mis-builder/tree/17.0/mis_builder_demo
: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-16-0/mis-builder-16-0-mis_builder_demo
:target: https://translation.odoo-community.org/projects/mis-builder-17-0/mis-builder-17-0-mis_builder_demo
: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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -46,105 +46,108 @@ Usage
This module provide the following demo data based on the Odoo generic
chart of accounts:

* A few styles.
* A budget.
* A report template showing expenses by category
* A sample committed purchase view model, showing uninvoiced purchase
order lines and draft invoice lines.
* A report instance showing budget, committed purchases, actuals
and available.
- A few styles.
- A budget.
- A report template showing expenses by category
- A sample committed purchase view model, showing uninvoiced purchase
order lines and draft invoice lines.
- A report instance showing budget, committed purchases, actuals and
available.

Known issues / Roadmap
======================

The mis_builder `roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`_
and `known issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`_ can
be found on github.
The mis_builder
`roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`__
and `known
issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`__
can be found on github.

Changelog
=========

16.0.1.0.0 (2023-04-01)
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

**Features**

- Migration to 16.0.

- removal of analytic fetures because the upstream ``analytic_distribution`` mechanism
is not compatible; support may be introduced in separate module, depending on use
cases (`#472 <https://github.com/OCA/mis-builder/issues/472>`_)
- Migration to 16.0.

- removal of analytic fetures because the upstream
``analytic_distribution`` mechanism is not compatible; support may
be introduced in separate module, depending on use cases
(`#472 <https://github.com/OCA/mis-builder/issues/472>`__)

13.0.3.1.2 (2020-04-22)
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

**Bugfixes**

- Fix currency rate in uninvoiced purchases. (`#274 <https://github.com/OCA/mis-builder/issues/274>`_)

- Fix currency rate in uninvoiced purchases.
(`#274 <https://github.com/OCA/mis-builder/issues/274>`__)

13.0.3.1.0 (2020-01-??)
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

Migration to odoo 13.0.

12.0.3.1.0 (2019-10-26)
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

**Features**

- Handle multi currency for commited purchase view. The amount in this
view are now converted to the base currency (the one with rate 1),
so summing them has some meaning. As a consequence, this view has
less usefulness if the company currency is not the one with rate 1,
Debit and credit being assumed to be in company currency.

Add the M2M to account.analytic.tag in the commited purchase view.
- Handle multi currency for commited purchase view. The amount in this
view are now converted to the base currency (the one with rate 1), so
summing them has some meaning. As a consequence, this view has less
usefulness if the company currency is not the one with rate 1, Debit
and credit being assumed to be in company currency.

Fix sign issue in commited purchase view.
Add the M2M to account.analytic.tag in the commited purchase view.

Include customer invoice in commited purchase view. The view is therefore
not only about purchases anymore. This should not be an issue because
GL accounts are differents for purchases and income anyway and generally
used in different KPI.
Fix sign issue in commited purchase view.

These are breaking changes. Change the status of ``mis_builder_demo`` to alpha,
since it is a demo module and it's content can change at any time without
any compatibility guarantees. (`#222 <https://github.com/oca/mis-builder/issues/222>`_)
Include customer invoice in commited purchase view. The view is
therefore not only about purchases anymore. This should not be an
issue because GL accounts are differents for purchases and income
anyway and generally used in different KPI.

These are breaking changes. Change the status of ``mis_builder_demo``
to alpha, since it is a demo module and it's content can change at
any time without any compatibility guarantees.
(`#222 <https://github.com/oca/mis-builder/issues/222>`__)

**Bugfixes**

- Fix date casting error on committed expenses drilldown. (`#185 <https://github.com/oca/mis-builder/issues/185>`_)
- Fix date casting error on committed expenses drilldown.
(`#185 <https://github.com/oca/mis-builder/issues/185>`__)

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_demo%0Aversion:%2016.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_demo%0Aversion:%2017.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
~~~~~~~
-------

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~
------------

* Stéphane Bidoul <[email protected]>
* Arnaud Pineux <[email protected]>
* Dzung Tran <[email protected]>
- Stéphane Bidoul <[email protected]>
- Arnaud Pineux <[email protected]>
- Dzung Tran <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -164,6 +167,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/16.0/mis_builder_demo>`_ project on GitHub.
This module is part of the `OCA/mis-builder <https://github.com/OCA/mis-builder/tree/17.0/mis_builder_demo>`_ project on GitHub.

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

{
"name": "MIS Builder Demo",
"summary": """
Demo addon for MIS Builder""",
"version": "16.0.1.0.2",
"summary": "Demo addon for MIS Builder",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV, " "Odoo Community Association (OCA)",
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/mis-builder",
"depends": ["mis_builder_budget", "purchase"],
"data": [
Expand All @@ -18,7 +17,7 @@
"data/mis_budget.xml",
"data/mis_report_instance.xml",
],
"installable": False,
"installable": True,
"maintainers": ["sbidoul"],
"development_status": "Alpha",
}
3 changes: 3 additions & 0 deletions mis_builder_demo/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Stéphane Bidoul \<<[email protected]>\>
- Arnaud Pineux \<<[email protected]>\>
- Dzung Tran \<<[email protected]>\>
3 changes: 0 additions & 3 deletions mis_builder_demo/readme/CONTRIBUTORS.rst

This file was deleted.

File renamed without changes.
49 changes: 49 additions & 0 deletions mis_builder_demo/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## 16.0.1.0.0 (2023-04-01)

**Features**

- Migration to 16.0.
- removal of analytic fetures because the upstream
`analytic_distribution` mechanism is not compatible; support may be
introduced in separate module, depending on use cases
([\#472](https://github.com/OCA/mis-builder/issues/472))

## 13.0.3.1.2 (2020-04-22)

**Bugfixes**

- Fix currency rate in uninvoiced purchases.
([\#274](https://github.com/OCA/mis-builder/issues/274))

## 13.0.3.1.0 (2020-01-??)

Migration to odoo 13.0.

## 12.0.3.1.0 (2019-10-26)

**Features**

- Handle multi currency for commited purchase view. The amount in this
view are now converted to the base currency (the one with rate 1), so
summing them has some meaning. As a consequence, this view has less
usefulness if the company currency is not the one with rate 1, Debit
and credit being assumed to be in company currency.

Add the M2M to account.analytic.tag in the commited purchase view.

Fix sign issue in commited purchase view.

Include customer invoice in commited purchase view. The view is
therefore not only about purchases anymore. This should not be an
issue because GL accounts are differents for purchases and income
anyway and generally used in different KPI.

These are breaking changes. Change the status of `mis_builder_demo` to
alpha, since it is a demo module and it's content can change at any
time without any compatibility guarantees.
([\#222](https://github.com/oca/mis-builder/issues/222))

**Bugfixes**

- Fix date casting error on committed expenses drilldown.
([\#185](https://github.com/oca/mis-builder/issues/185))
53 changes: 0 additions & 53 deletions mis_builder_demo/readme/HISTORY.rst

This file was deleted.

5 changes: 5 additions & 0 deletions mis_builder_demo/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The mis_builder
[roadmap](https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement)
and [known
issues](https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
can be found on github.
3 changes: 0 additions & 3 deletions mis_builder_demo/readme/ROADMAP.rst

This file was deleted.

10 changes: 10 additions & 0 deletions mis_builder_demo/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This module provide the following demo data based on the Odoo generic
chart of accounts:

- A few styles.
- A budget.
- A report template showing expenses by category
- A sample committed purchase view model, showing uninvoiced purchase
order lines and draft invoice lines.
- A report instance showing budget, committed purchases, actuals and
available.
10 changes: 0 additions & 10 deletions mis_builder_demo/readme/USAGE.rst

This file was deleted.

Loading

0 comments on commit 754ef41

Please sign in to comment.