Skip to content

Commit d2a8e53

Browse files
committed
[IMP] account_move_exception: pre-commit auto fixes
1 parent 5f3c310 commit d2a8e53

File tree

9 files changed

+46
-39
lines changed

9 files changed

+46
-39
lines changed

account_move_exception/README.rst

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,24 @@ Account Move Exception
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--invoicing-lightgray.png?logo=github
20-
:target: https://github.com/OCA/account-invoicing/tree/15.0/account_move_exception
20+
:target: https://github.com/OCA/account-invoicing/tree/18.0/account_move_exception
2121
:alt: OCA/account-invoicing
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_move_exception
23+
:target: https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_move_exception
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-invoicing&target_branch=15.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&target_branch=18.0
2727
:alt: Try me on Runboat
2828

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

3131
This module allows you attach several customizable exceptions to your
32-
account move in a way that you can filter moves by exceptions type and fix them.
32+
account move in a way that you can filter moves by exceptions type and
33+
fix them.
3334

34-
This is especially useful in an scenario for mass accounts move import, because it's likely some moves have
35-
errors when you import them (like product not found in Odoo, wrong line
36-
format etc.)
35+
This is especially useful in an scenario for mass accounts move import,
36+
because it's likely some moves have errors when you import them (like
37+
product not found in Odoo, wrong line format etc.)
3738

3839
**Table of contents**
3940

@@ -43,8 +44,9 @@ format etc.)
4344
Usage
4445
=====
4546

46-
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
47-
:alt: Try me on Runbot
47+
|Try me on Runbot|
48+
49+
.. |Try me on Runbot| image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
4850
:target: https://runbot.odoo-community.org/runbot/95/13.0
4951

5052
Bug Tracker
@@ -53,26 +55,26 @@ Bug Tracker
5355
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/issues>`_.
5456
In case of trouble, please check there if your issue has already been reported.
5557
If you spotted it first, help us to smash it by providing a detailed and welcomed
56-
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_move_exception%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
58+
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_move_exception%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5759

5860
Do not contact contributors directly about support or help with technical issues.
5961

6062
Credits
6163
=======
6264

6365
Authors
64-
~~~~~~~
66+
-------
6567

6668
* ForgeFlow
6769

6870
Contributors
69-
~~~~~~~~~~~~
71+
------------
7072

71-
* Miquel Raïch <[email protected]>
72-
* Pimolnat Suntian <[email protected]>
73+
- Miquel Raïch <[email protected]>
74+
- Pimolnat Suntian <[email protected]>
7375

7476
Maintainers
75-
~~~~~~~~~~~
77+
-----------
7678

7779
This module is maintained by the OCA.
7880

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

87-
This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/15.0/account_move_exception>`_ project on GitHub.
89+
This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/18.0/account_move_exception>`_ project on GitHub.
8890

8991
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

account_move_exception/pyproject.toml

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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Miquel Raïch \<[email protected]\>
2+
- Pimolnat Suntian \<[email protected]\>

account_move_exception/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
This module allows you attach several customizable exceptions to your
2-
account move in a way that you can filter moves by exceptions type and fix them.
2+
account move in a way that you can filter moves by exceptions type and
3+
fix them.
34

4-
This is especially useful in an scenario for mass accounts move import, because it's likely some moves have
5-
errors when you import them (like product not found in Odoo, wrong line
6-
format etc.)
5+
This is especially useful in an scenario for mass accounts move import,
6+
because it's likely some moves have errors when you import them (like
7+
product not found in Odoo, wrong line format etc.)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[![Try me on Runbot](https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas)](https://runbot.odoo-community.org/runbot/95/13.0)

account_move_exception/readme/USAGE.rst

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

account_move_exception/static/description/index.html

Lines changed: 16 additions & 13 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 ([email protected])
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,12 +369,13 @@ <h1 class="title">Account Move Exception</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:017d2c314425414f27a8fb0ec76b0a1f5543565319521088cc5bb8db3bbe1299
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-invoicing/tree/15.0/account_move_exception"><img alt="OCA/account-invoicing" src="https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_move_exception"><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-invoicing&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></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-invoicing/tree/18.0/account_move_exception"><img alt="OCA/account-invoicing" src="https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_move_exception"><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-invoicing&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module allows you attach several customizable exceptions to your
374-
account move in a way that you can filter moves by exceptions type and fix them.</p>
375-
<p>This is especially useful in an scenario for mass accounts move import, because it’s likely some moves have
376-
errors when you import them (like product not found in Odoo, wrong line
377-
format etc.)</p>
374+
account move in a way that you can filter moves by exceptions type and
375+
fix them.</p>
376+
<p>This is especially useful in an scenario for mass accounts move import,
377+
because it’s likely some moves have errors when you import them (like
378+
product not found in Odoo, wrong line format etc.)</p>
378379
<p><strong>Table of contents</strong></p>
379380
<div class="contents local topic" id="contents">
380381
<ul class="simple">
@@ -390,14 +391,14 @@ <h1 class="title">Account Move Exception</h1>
390391
</div>
391392
<div class="section" id="usage">
392393
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
393-
<a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/95/13.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a>
394+
<p><a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/95/13.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a></p>
394395
</div>
395396
<div class="section" id="bug-tracker">
396397
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
397398
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-invoicing/issues">GitHub Issues</a>.
398399
In case of trouble, please check there if your issue has already been reported.
399400
If you spotted it first, help us to smash it by providing a detailed and welcomed
400-
<a class="reference external" href="https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_move_exception%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
401+
<a class="reference external" href="https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_move_exception%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
401402
<p>Do not contact contributors directly about support or help with technical issues.</p>
402403
</div>
403404
<div class="section" id="credits">
@@ -418,11 +419,13 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
418419
<div class="section" id="maintainers">
419420
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
420421
<p>This module is maintained by the OCA.</p>
421-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
422+
<a class="reference external image-reference" href="https://odoo-community.org">
423+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
424+
</a>
422425
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
423426
mission is to support the collaborative development of Odoo features and
424427
promote its widespread use.</p>
425-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoicing/tree/15.0/account_move_exception">OCA/account-invoicing</a> project on GitHub.</p>
428+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoicing/tree/18.0/account_move_exception">OCA/account-invoicing</a> project on GitHub.</p>
426429
<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>
427430
</div>
428431
</div>

account_move_exception/tests/test_account_exception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class TestAccountException(TransactionCase):
88
def setUp(self):
9-
super(TestAccountException, self).setUp()
9+
super().setUp()
1010
# Useful models
1111
self.AccountMove = self.env["account.move"].with_context(
1212
check_move_validity=False

0 commit comments

Comments
 (0)