[IMP] account_move_budget: black, isort, prettier

This commit is contained in:
JasminSForgeFlow
2024-03-01 10:28:11 +05:30
parent a9a798d5e6
commit 318aa9a537
10 changed files with 50 additions and 42 deletions

View File

@@ -17,13 +17,13 @@ Account Move Budget
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/16.0/account_move_budget
:target: https://github.com/OCA/account-financial-tools/tree/17.0/account_move_budget
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_budget
:target: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_move_budget
: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/account-financial-tools&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -34,11 +34,12 @@ These budgets can then be used in MIS Builder reports, as an alternate
source.
The difference between the MIS Builder Budget and this module is that
this module defines budgets irrespective of the MIS Builder Template. The
budget is thus agnostic of the reporting format.
this module defines budgets irrespective of the MIS Builder Template.
The budget is thus agnostic of the reporting format.
For example, the budgeted data can be used in a general Profit & Loss report
and at the same time can be used in a department or project expenses report.
For example, the budgeted data can be used in a general Profit & Loss
report and at the same time can be used in a department or project
expenses report.
**Table of contents**
@@ -48,8 +49,8 @@ and at the same time can be used in a department or project expenses report.
Usage
=====
In order to set up the budget items go to
*Invoicing / Accounting / Miscellaneous / Account Move Budgets*.
In order to set up the budget items go to *Invoicing / Accounting /
Miscellaneous / Account Move Budgets*.
Bug Tracker
===========
@@ -57,7 +58,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_move_budget%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_move_budget%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.
@@ -65,20 +66,22 @@ Credits
=======
Authors
~~~~~~~
-------
* ForgeFlow
Contributors
~~~~~~~~~~~~
------------
* ForgeFlow, S.L. (https://www.forgeflow.com)
* Hector Villarreal <hector.villarreal@forgeflow.com>
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* David Jaen <david.jaen.revert@gmail.com>
- ForgeFlow, S.L. (https://www.forgeflow.com)
- Hector Villarreal <hector.villarreal@forgeflow.com>
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- David Jaen <david.jaen.revert@gmail.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -90,6 +93,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_move_budget>`_ project on GitHub.
This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/17.0/account_move_budget>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@@ -0,0 +1,4 @@
- ForgeFlow, S.L. (<https://www.forgeflow.com>)
- Hector Villarreal \<<hector.villarreal@forgeflow.com>\>
- Jordi Ballester Alomar \<<jordi.ballester@forgeflow.com>\>
- David Jaen \<<david.jaen.revert@gmail.com>\>

View File

@@ -1,4 +0,0 @@
* ForgeFlow, S.L. (https://www.forgeflow.com)
* Hector Villarreal <hector.villarreal@forgeflow.com>
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* David Jaen <david.jaen.revert@gmail.com>

View File

@@ -4,8 +4,9 @@ These budgets can then be used in MIS Builder reports, as an alternate
source.
The difference between the MIS Builder Budget and this module is that
this module defines budgets irrespective of the MIS Builder Template. The
budget is thus agnostic of the reporting format.
this module defines budgets irrespective of the MIS Builder Template.
The budget is thus agnostic of the reporting format.
For example, the budgeted data can be used in a general Profit & Loss report
and at the same time can be used in a department or project expenses report.
For example, the budgeted data can be used in a general Profit & Loss
report and at the same time can be used in a department or project
expenses report.

View File

@@ -0,0 +1,2 @@
In order to set up the budget items go to *Invoicing / Accounting /
Miscellaneous / Account Move Budgets*.

View File

@@ -1,2 +0,0 @@
In order to set up the budget items go to
*Invoicing / Accounting / Miscellaneous / Account Move Budgets*.

View File

@@ -369,15 +369,16 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ea8324ae2fe539fc12ea9f7a7a8bc2b34f61eb137d9a667cdaae2fa77c785804
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-tools/tree/16.0/account_move_budget"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_budget"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-tools/tree/17.0/account_move_budget"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_move_budget"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows to define accounting budgets.</p>
<p>These budgets can then be used in MIS Builder reports, as an alternate
source.</p>
<p>The difference between the MIS Builder Budget and this module is that
this module defines budgets irrespective of the MIS Builder Template. The
budget is thus agnostic of the reporting format.</p>
<p>For example, the budgeted data can be used in a general Profit &amp; Loss report
and at the same time can be used in a department or project expenses report.</p>
this module defines budgets irrespective of the MIS Builder Template.
The budget is thus agnostic of the reporting format.</p>
<p>For example, the budgeted data can be used in a general Profit &amp; Loss
report and at the same time can be used in a department or project
expenses report.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -393,15 +394,15 @@ and at the same time can be used in a department or project expenses report.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>In order to set up the budget items go to
<em>Invoicing / Accounting / Miscellaneous / Account Move Budgets</em>.</p>
<p>In order to set up the budget items go to <em>Invoicing / Accounting /
Miscellaneous / Account Move Budgets</em>.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-tools/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_move_budget%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_move_budget%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -415,9 +416,11 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>ForgeFlow, S.L. (<a class="reference external" href="https://www.forgeflow.com">https://www.forgeflow.com</a>)
* Hector Villarreal &lt;<a class="reference external" href="mailto:hector.villarreal&#64;forgeflow.com">hector.villarreal&#64;forgeflow.com</a>&gt;
* Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
<li>ForgeFlow, S.L. (<a class="reference external" href="https://www.forgeflow.com">https://www.forgeflow.com</a>)<ul>
<li>Hector Villarreal &lt;<a class="reference external" href="mailto:hector.villarreal&#64;forgeflow.com">hector.villarreal&#64;forgeflow.com</a>&gt;</li>
<li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
</ul>
</li>
<li>David Jaen &lt;<a class="reference external" href="mailto:david.jaen.revert&#64;gmail.com">david.jaen.revert&#64;gmail.com</a>&gt;</li>
</ul>
</div>
@@ -428,7 +431,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-tools/tree/16.0/account_move_budget">OCA/account-financial-tools</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-tools/tree/17.0/account_move_budget">OCA/account-financial-tools</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

View File

@@ -83,7 +83,6 @@ class TestAccountMoveBudget(TransactionCase):
self.assertTrue(move_form.save())
def test_03_copy_account_move_budget(self):
move_form = Form(self.env["account.move.budget"])
move_form.name = "Budget Test 03"
move_form.description = "Description"
@@ -92,7 +91,6 @@ class TestAccountMoveBudget(TransactionCase):
self.assertTrue(move_form.save().copy())
def test_04_actions_account_move_budget(self):
values = {
"name": "Budget Test 04",
"description": "Description",

BIN
pandoc-3.1.12.1-1-amd64.deb Normal file

Binary file not shown.