Skip to content

Commit 0ffee3c

Browse files
author
bosd
committed
[IMP] purchase_analytic_global: pre-commit auto fixes
* Auto-formatting and linting fixes * README badges updated to 19.0 * Standards compliance updates
1 parent 2e2a033 commit 0ffee3c

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

purchase_analytic_global/README.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
==================================
26
Purchase - Analytic Account Global
37
==================================
@@ -13,17 +17,17 @@ Purchase - Analytic Account Global
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
20-
:target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_analytic_global
24+
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_analytic_global
2125
:alt: OCA/purchase-workflow
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_analytic_global
27+
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_analytic_global
2428
:alt: Translate me on Weblate
2529
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -42,7 +46,7 @@ Bug Tracker
4246
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
4347
In case of trouble, please check there if your issue has already been reported.
4448
If you spotted it first, help us to smash it by providing a detailed and welcomed
45-
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_analytic_global%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
49+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_analytic_global%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4650

4751
Do not contact contributors directly about support or help with technical issues.
4852

@@ -91,6 +95,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9195
mission is to support the collaborative development of Odoo features and
9296
promote its widespread use.
9397

94-
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_analytic_global>`_ project on GitHub.
98+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_analytic_global>`_ project on GitHub.
9599

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

purchase_analytic_global/static/description/index.html

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Purchase - Analytic Account Global</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,16 +360,21 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="purchase-analytic-account-global">
364-
<h1 class="title">Purchase - Analytic Account Global</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="purchase-analytic-account-global">
370+
<h1>Purchase - Analytic Account Global</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:a0f9dc4b6ce66852de767aeebef547d00a60f696a4755da649c0e488c2ff34c3
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
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/purchase-workflow/tree/18.0/purchase_analytic_global"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_analytic_global"><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/purchase-workflow&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/purchase-workflow/tree/19.0/purchase_analytic_global"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_analytic_global"><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/purchase-workflow&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>This module adds an analytic account on the purchases that is applied on
374379
all the lines distributions.</p>
375380
<p><strong>Table of contents</strong></p>
@@ -386,23 +391,23 @@ <h1 class="title">Purchase - Analytic Account Global</h1>
386391
</ul>
387392
</div>
388393
<div class="section" id="bug-tracker">
389-
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
394+
<h2><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h2>
390395
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/purchase-workflow/issues">GitHub Issues</a>.
391396
In case of trouble, please check there if your issue has already been reported.
392397
If you spotted it first, help us to smash it by providing a detailed and welcomed
393-
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_analytic_global%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398+
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_analytic_global%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
394399
<p>Do not contact contributors directly about support or help with technical issues.</p>
395400
</div>
396401
<div class="section" id="credits">
397-
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
402+
<h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
398403
<div class="section" id="authors">
399-
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
404+
<h3><a class="toc-backref" href="#toc-entry-3">Authors</a></h3>
400405
<ul class="simple">
401406
<li>Camptocamp</li>
402407
</ul>
403408
</div>
404409
<div class="section" id="contributors">
405-
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
410+
<h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
406411
<ul class="simple">
407412
<li><a class="reference external" href="https://camptocamp.com">Camptocamp</a>:<ul>
408413
<li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;camptocamp.com">guewen.baconnier&#64;camptocamp.com</a>&gt;</li>
@@ -422,23 +427,24 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
422427
</ul>
423428
</div>
424429
<div class="section" id="other-credits">
425-
<h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
430+
<h3><a class="toc-backref" href="#toc-entry-5">Other credits</a></h3>
426431
<p>The migration of this module from 15.0 to 18.0 was financially supported
427432
by Camptocamp</p>
428433
</div>
429434
<div class="section" id="maintainers">
430-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
435+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
431436
<p>This module is maintained by the OCA.</p>
432437
<a class="reference external image-reference" href="https://odoo-community.org">
433438
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
434439
</a>
435440
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
436441
mission is to support the collaborative development of Odoo features and
437442
promote its widespread use.</p>
438-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/18.0/purchase_analytic_global">OCA/purchase-workflow</a> project on GitHub.</p>
443+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/19.0/purchase_analytic_global">OCA/purchase-workflow</a> project on GitHub.</p>
439444
<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>
440445
</div>
441446
</div>
442447
</div>
448+
</div>
443449
</body>
444450
</html>

0 commit comments

Comments
 (0)