Skip to content

Commit

Permalink
[IMP] account_reconcile_oca: black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
norlinhenrik committed Feb 3, 2024
1 parent fbb1ad6 commit 4b783d6
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 46 deletions.
35 changes: 18 additions & 17 deletions account_reconcile_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ Account Reconcile Oca
: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--reconcile-lightgray.png?logo=github
:target: https://github.com/OCA/account-reconcile/tree/16.0/account_reconcile_oca
:target: https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca
:alt: OCA/account-reconcile
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_reconcile_oca
:target: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca
: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-reconcile&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This addon allows to reconcile bank statements and account marked as `reconcile`.
This addon allows to reconcile bank statements and account marked as
reconcile.

**Table of contents**

Expand All @@ -39,51 +40,51 @@ Usage
=====

Bank reconcile
~~~~~~~~~~~~~~
--------------

Access `Invoicing / Dashboard` with a user with Full Acounting capabilities.
Select reconcile on the journal of your choice.
Access Invoicing / Dashboard with a user with Full Acounting
capabilities. Select reconcile on the journal of your choice.

Account reconcile
~~~~~~~~~~~~~~~~~
-----------------

Access `Invoicing / Accounting / Actions / Reconcile`
All the possible reconcile options will show and you will be able to reconcile properly.
Access Invoicing / Accounting / Actions / Reconcile All the possible
reconcile options will show and you will be able to reconcile properly.
You can access the same widget from accounts and Partners.

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

The following bugs are already detected:

* Creation of activities on the chatter do show automatically
- Creation of activities on the chatter do show automatically

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/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-reconcile/issues/new?body=module:%20account_reconcile_oca%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_reconcile_oca%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
~~~~~~~
-------

* CreuBlanca
* Dixmit

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

* Enric Tobella
- Enric Tobella

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

This module is maintained by the OCA.

Expand All @@ -103,6 +104,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-etobella|

This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/16.0/account_reconcile_oca>`_ project on GitHub.
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca>`_ 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 account_reconcile_oca/models/account_bank_statement_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _onchange_manual_model_id(self):
self.manual_model_id,
self.reconcile_data_info["reconcile_auxiliary_id"],
),
self.manual_reference
self.manual_reference,
)
else:
# Refreshing data
Expand Down Expand Up @@ -444,7 +444,7 @@ def _default_reconcile_data(self, from_unreconcile=False):
*self._reconcile_data_by_model(
data, res["model"], reconcile_auxiliary_id
),
self.manual_reference
self.manual_reference,
)
elif res and res.get("amls"):
amount = self.amount_total_signed
Expand Down Expand Up @@ -643,7 +643,7 @@ def create(self, mvals):
*record._reconcile_data_by_model(
data, res["model"], reconcile_auxiliary_id
),
self.manual_reference
self.manual_reference,
)
elif res.get("amls"):
amount = self.amount
Expand Down
1 change: 0 additions & 1 deletion account_reconcile_oca/models/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class AccountMoveLine(models.Model):

_inherit = "account.move.line"

def action_reconcile_manually(self):
Expand Down
3 changes: 3 additions & 0 deletions account_reconcile_oca/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions account_reconcile_oca/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Enric Tobella
1 change: 0 additions & 1 deletion account_reconcile_oca/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This addon allows to reconcile bank statements and account marked as `reconcile`.
This addon allows to reconcile bank statements and account marked as
reconcile.
3 changes: 3 additions & 0 deletions account_reconcile_oca/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The following bugs are already detected:

- Creation of activities on the chatter do show automatically
3 changes: 0 additions & 3 deletions account_reconcile_oca/readme/ROADMAP.rst

This file was deleted.

10 changes: 10 additions & 0 deletions account_reconcile_oca/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Bank reconcile

Access Invoicing / Dashboard with a user with Full Acounting
capabilities. Select reconcile on the journal of your choice.

## Account reconcile

Access Invoicing / Accounting / Actions / Reconcile All the possible
reconcile options will show and you will be able to reconcile properly.
You can access the same widget from accounts and Partners.
12 changes: 0 additions & 12 deletions account_reconcile_oca/readme/USAGE.rst

This file was deleted.

18 changes: 10 additions & 8 deletions account_reconcile_oca/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -368,8 +369,9 @@ <h1 class="title">Account Reconcile Oca</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0259c9d504534b4ee88e7b929ddb6c524dd35cb217811c87b8dd02e0a433f1f1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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-reconcile/tree/16.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_reconcile_oca"><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-reconcile&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>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</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-reconcile/tree/17.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca"><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-reconcile&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 addon allows to reconcile bank statements and account marked as
reconcile.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -392,13 +394,13 @@ <h1 class="title">Account Reconcile Oca</h1>
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<div class="section" id="bank-reconcile">
<h2><a class="toc-backref" href="#toc-entry-2">Bank reconcile</a></h2>
<p>Access <cite>Invoicing / Dashboard</cite> with a user with Full Acounting capabilities.
Select reconcile on the journal of your choice.</p>
<p>Access Invoicing / Dashboard with a user with Full Acounting
capabilities. Select reconcile on the journal of your choice.</p>
</div>
<div class="section" id="account-reconcile">
<h2><a class="toc-backref" href="#toc-entry-3">Account reconcile</a></h2>
<p>Access <cite>Invoicing / Accounting / Actions / Reconcile</cite>
All the possible reconcile options will show and you will be able to reconcile properly.
<p>Access Invoicing / Accounting / Actions / Reconcile All the possible
reconcile options will show and you will be able to reconcile properly.
You can access the same widget from accounts and Partners.</p>
</div>
</div>
Expand All @@ -414,7 +416,7 @@ <h1><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-reconcile/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-reconcile/issues/new?body=module:%20account_reconcile_oca%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-reconcile/issues/new?body=module:%20account_reconcile_oca%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">
Expand All @@ -441,7 +443,7 @@ <h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/etobella"><img alt="etobella" src="https://github.com/etobella.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/16.0/account_reconcile_oca">OCA/account-reconcile</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/17.0/account_reconcile_oca">OCA/account-reconcile</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>
Expand Down

0 comments on commit 4b783d6

Please sign in to comment.