Skip to content

Commit b9248e7

Browse files
[IMP] account_move_reconcile_forbid_cancel: pre-commit auto fixes
1 parent 1222b9f commit b9248e7

File tree

8 files changed

+47
-43
lines changed

8 files changed

+47
-43
lines changed

account_move_reconcile_forbid_cancel/README.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ Account Move Reconcile Forbid Cancel
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github
20-
:target: https://github.com/OCA/account-reconcile/tree/16.0/account_move_reconcile_forbid_cancel
20+
:target: https://github.com/OCA/account-reconcile/tree/17.0/account_move_reconcile_forbid_cancel
2121
:alt: OCA/account-reconcile
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_move_reconcile_forbid_cancel
23+
:target: https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_move_reconcile_forbid_cancel
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module restricts to cancel or reset to draft any invoice/journal entry that
32-
has been reconciled (aka paid).
31+
This module restricts to cancel or reset to draft any invoice/journal
32+
entry that has been reconciled (aka paid).
3333

3434
**Table of contents**
3535

@@ -41,40 +41,40 @@ Usage
4141

4242
To use this module, you need to:
4343

44-
#. Go to *Invoicing > Customers > Invoices*
45-
#. Access an invoice that has a payment.
46-
#. Click on the 'Reset to Draft' button and you will get an error
47-
message to prevent you from resetting the invoice to draft state because
48-
it has already an associated payment.
44+
1. Go to *Invoicing > Customers > Invoices*
45+
2. Access an invoice that has a payment.
46+
3. Click on the 'Reset to Draft' button and you will get an error
47+
message to prevent you from resetting the invoice to draft state
48+
because it has already an associated payment.
4949

5050
Bug Tracker
5151
===========
5252

5353
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/issues>`_.
5454
In case of trouble, please check there if your issue has already been reported.
5555
If you spotted it first, help us to smash it by providing a detailed and welcomed
56-
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_move_reconcile_forbid_cancel%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_move_reconcile_forbid_cancel%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5757

5858
Do not contact contributors directly about support or help with technical issues.
5959

6060
Credits
6161
=======
6262

6363
Authors
64-
~~~~~~~
64+
-------
6565

6666
* Tecnativa
6767

6868
Contributors
69-
~~~~~~~~~~~~
69+
------------
7070

71-
* `Tecnativa <https://www.tecnativa.com>`_:
71+
- `Tecnativa <https://www.tecnativa.com>`__:
7272

73-
* Ernesto Tejeda
74-
* Pedro M. Baeza
73+
- Ernesto Tejeda
74+
- Pedro M. Baeza
7575

7676
Maintainers
77-
~~~~~~~~~~~
77+
-----------
7878

7979
This module is maintained by the OCA.
8080

@@ -86,6 +86,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8686
mission is to support the collaborative development of Odoo features and
8787
promote its widespread use.
8888

89-
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/16.0/account_move_reconcile_forbid_cancel>`_ project on GitHub.
89+
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/17.0/account_move_reconcile_forbid_cancel>`_ project on GitHub.
9090

9191
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [Tecnativa](https://www.tecnativa.com):
2+
- Ernesto Tejeda
3+
- Pedro M. Baeza

account_move_reconcile_forbid_cancel/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

account_move_reconcile_forbid_cancel/readme/DESCRIPTION.rst renamed to account_move_reconcile_forbid_cancel/readme/DESCRIPTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
This module restricts to cancel or reset to draft any invoice/journal entry that
2-
has been reconciled (aka paid).
1+
This module restricts to cancel or reset to draft any invoice/journal
2+
entry that has been reconciled (aka paid).
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
To use this module, you need to:
2+
3+
1. Go to *Invoicing \> Customers \> Invoices*
4+
2. Access an invoice that has a payment.
5+
3. Click on the 'Reset to Draft' button and you will get an error
6+
message to prevent you from resetting the invoice to draft state
7+
because it has already an associated payment.

account_move_reconcile_forbid_cancel/readme/USAGE.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

account_move_reconcile_forbid_cancel/static/description/index.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
@@ -9,10 +8,11 @@
98

109
/*
1110
:Author: David Goodger (goodger@python.org)
12-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1616
1717
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
@@ -275,7 +275,7 @@
275275
margin-left: 2em ;
276276
margin-right: 2em }
277277

278-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
279279
pre.code, code { background-color: #eeeeee }
280280
pre.code .comment, code .comment { color: #5C6576 }
281281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
301301
span.pre {
302302
white-space: pre }
303303

304-
span.problematic {
304+
span.problematic, pre.problematic {
305305
color: red }
306306

307307
span.section-subtitle {
@@ -369,9 +369,9 @@ <h1 class="title">Account Move Reconcile Forbid Cancel</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:b1986780e3b36e29e2fa84cb759bf295a93cff7872c7856697bbc95fe0fc3c17
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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_move_reconcile_forbid_cancel"><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_move_reconcile_forbid_cancel"><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>
373-
<p>This module restricts to cancel or reset to draft any invoice/journal entry that
374-
has been reconciled (aka paid).</p>
372+
<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_move_reconcile_forbid_cancel"><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_move_reconcile_forbid_cancel"><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>
373+
<p>This module restricts to cancel or reset to draft any invoice/journal
374+
entry that has been reconciled (aka paid).</p>
375375
<p><strong>Table of contents</strong></p>
376376
<div class="contents local topic" id="contents">
377377
<ul class="simple">
@@ -392,16 +392,16 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
392392
<li>Go to <em>Invoicing &gt; Customers &gt; Invoices</em></li>
393393
<li>Access an invoice that has a payment.</li>
394394
<li>Click on the ‘Reset to Draft’ button and you will get an error
395-
message to prevent you from resetting the invoice to draft state because
396-
it has already an associated payment.</li>
395+
message to prevent you from resetting the invoice to draft state
396+
because it has already an associated payment.</li>
397397
</ol>
398398
</div>
399399
<div class="section" id="bug-tracker">
400400
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
401401
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-reconcile/issues">GitHub Issues</a>.
402402
In case of trouble, please check there if your issue has already been reported.
403403
If you spotted it first, help us to smash it by providing a detailed and welcomed
404-
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_move_reconcile_forbid_cancel%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
404+
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_move_reconcile_forbid_cancel%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
405405
<p>Do not contact contributors directly about support or help with technical issues.</p>
406406
</div>
407407
<div class="section" id="credits">
@@ -425,11 +425,13 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
425425
<div class="section" id="maintainers">
426426
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
427427
<p>This module is maintained by the OCA.</p>
428-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
428+
<a class="reference external image-reference" href="https://odoo-community.org">
429+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
430+
</a>
429431
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
430432
mission is to support the collaborative development of Odoo features and
431433
promote its widespread use.</p>
432-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/16.0/account_move_reconcile_forbid_cancel">OCA/account-reconcile</a> project on GitHub.</p>
434+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/17.0/account_move_reconcile_forbid_cancel">OCA/account-reconcile</a> project on GitHub.</p>
433435
<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>
434436
</div>
435437
</div>

0 commit comments

Comments
 (0)