[IMP] account_reconcile_oca: black, isort, prettier

pull/630/head
Henrik Norlin 2024-02-03 22:20:17 +01:00 committed by Enric Tobella
parent 43a2fc7d74
commit 214337719b
12 changed files with 50 additions and 46 deletions

View File

@ -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**
@ -39,16 +40,16 @@ 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
@ -56,7 +57,7 @@ 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
===========
@ -64,7 +65,7 @@ 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.
@ -72,18 +73,18 @@ Credits
=======
Authors
~~~~~~~
-------
* CreuBlanca
* Dixmit
Contributors
~~~~~~~~~~~~
------------
* Enric Tobella
- Enric Tobella
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@ -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.

View File

@ -111,7 +111,7 @@ class AccountBankStatementLine(models.Model):
self.manual_model_id,
self.reconcile_data_info["reconcile_auxiliary_id"],
),
self.manual_reference
self.manual_reference,
)
else:
# Refreshing data
@ -444,7 +444,7 @@ class AccountBankStatementLine(models.Model):
*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
@ -643,7 +643,7 @@ class AccountBankStatementLine(models.Model):
*record._reconcile_data_by_model(
data, res["model"], reconcile_auxiliary_id
),
self.manual_reference
self.manual_reference,
)
elif res.get("amls"):
amount = self.amount

View File

@ -6,7 +6,6 @@ from odoo.exceptions import ValidationError
class AccountMoveLine(models.Model):
_inherit = "account.move.line"
invoice_due_date = fields.Date(

View File

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

View File

@ -0,0 +1 @@
- Enric Tobella

View File

@ -1 +0,0 @@
* Enric Tobella

View File

@ -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.

View File

@ -0,0 +1,3 @@
The following bugs are already detected:
- Creation of activities on the chatter do show automatically

View File

@ -1,3 +0,0 @@
The following bugs are already detected:
* Creation of activities on the chatter do show automatically

View File

@ -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.

View File

@ -1,12 +0,0 @@
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.

View File

@ -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>
@ -368,8 +369,9 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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">
@ -392,13 +394,13 @@ ul.auto-toc {
<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>
@ -414,7 +416,7 @@ You can access the same widget from accounts and Partners.</p>
<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">
@ -441,7 +443,7 @@ mission is to support the collaborative development of Odoo features and
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>