[IMP] product_warranty: pre-commit auto fixes

This commit is contained in:
Antoni Marroig Campomar
2024-05-31 14:45:09 +02:00
parent 6df754e728
commit f41601d791
12 changed files with 84 additions and 79 deletions

View File

@@ -17,19 +17,20 @@ Product Warranty
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
:target: https://github.com/OCA/rma/tree/16.0/product_warranty :target: https://github.com/OCA/rma/tree/17.0/product_warranty
:alt: OCA/rma :alt: OCA/rma
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty :target: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-product_warranty
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=16.0 :target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=17.0
:alt: Try me on Runboat :alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
This module extends the functionality of 'Sales Management' to allows you This module extends the functionality of 'Sales Management' to allows
to set product warranty details on products and product-supplier relation. you to set product warranty details on products and product-supplier
relation.
**Table of contents** **Table of contents**
@@ -47,12 +48,12 @@ Usage
To use this module, you need to: To use this module, you need to:
#. Go to *Sales > Products > Products (or Product Variants)* 1. Go to *Sales > Products > Products (or Product Variants)*
#. Create a new product (or product variant) or edit an existing one 2. Create a new product (or product variant) or edit an existing one and
and set 'Warranty Duration' under 'Sales' tab. set 'Warranty Duration' under 'Sales' tab.
#. If 'Purchase' module is installed, got to 3. If 'Purchase' module is installed, got to *Sales > Products >
*Sales > Products > Products (or Product Variants)*, go to 'Purchase' tab, Products (or Product Variants)*, go to 'Purchase' tab, edit supplier
edit supplier information lines an set the warranty information for each one. information lines an set the warranty information for each one.
Bug Tracker Bug Tracker
=========== ===========
@@ -60,7 +61,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/rma/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/rma/issues>`_.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/rma/issues/new?body=module:%20product_warranty%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. Do not contact contributors directly about support or help with technical issues.
@@ -68,42 +69,42 @@ Credits
======= =======
Authors Authors
~~~~~~~ -------
* Akretion * Akretion
* Vauxoo * Vauxoo
Contributors Contributors
~~~~~~~~~~~~ ------------
* Emmanuel Samyn <esamyn@gmail.com> - Emmanuel Samyn <esamyn@gmail.com>
* Paulius Sladkevičius <paulius@inovera.lt> - Paulius Sladkevičius <paulius@inovera.lt>
* Benoît Guillot <benoit.guillot@akretion.com.br> - Benoît Guillot <benoit.guillot@akretion.com.br>
* David Beal <david.beal@akretion.com> - David Beal <david.beal@akretion.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com> - Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
* Joël Grand-Guillaume <joel.grandguillaume@gmail.com> - Joël Grand-Guillaume <joel.grandguillaume@gmail.com>
* Ondřej Kuzník <ondrej.kuznik@credativ.co.uk> - Ondřej Kuzník <ondrej.kuznik@credativ.co.uk>
* Yanina Aular <yanina.aular@vauxoo.com> - Yanina Aular <yanina.aular@vauxoo.com>
* Cyril Gaudin <cyril.gaudin@camptocamp.com> - Cyril Gaudin <cyril.gaudin@camptocamp.com>
* Bima Jati Wijaya <bimajatiwijaya@gmail.com> - Bima Jati Wijaya <bimajatiwijaya@gmail.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com> - Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
Other credits Other credits
~~~~~~~~~~~~~ -------------
This module has been financially supported by: This module has been financially supported by:
* Inovera <https://www.inovera.lt> - Inovera <https://www.inovera.lt>
* Akretion Brazil <https://www.akretion.com.br> - Akretion Brazil <https://www.akretion.com.br>
* Akretion <https://www.akretion.com> - Akretion <https://www.akretion.com>
* Savoir-faire Linux <https://www.savoirfairelinux.com> - Savoir-faire Linux <https://www.savoirfairelinux.com>
* Credativ <https://www.credativ.co.uk> - Credativ <https://www.credativ.co.uk>
* Vauxoo <https://www.vauxoo.com> - Vauxoo <https://www.vauxoo.com>
* Camp 2 Camp <https://camptocamp.com> - Camp 2 Camp <https://camptocamp.com>
* Open Source Integrators <https://www.opensourceintegrators.com> - Open Source Integrators <https://www.opensourceintegrators.com>
Maintainers Maintainers
~~~~~~~~~~~ -----------
This module is maintained by the OCA. This module is maintained by the OCA.
@@ -126,6 +127,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-osi-scampbell| |maintainer-max3903| |maintainer-osi-scampbell| |maintainer-max3903|
This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/16.0/product_warranty>`_ project on GitHub. This module is part of the `OCA/rma <https://github.com/OCA/rma/tree/17.0/product_warranty>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

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

View File

@@ -1,2 +1,2 @@
To manage the available return instructions, enable debug mode and go to To manage the available return instructions, enable debug mode and go to
*Sales -> Configuration -> Product Return Instructions*. *Sales -\> Configuration -\> Product Return Instructions*.

View File

@@ -0,0 +1,11 @@
- Emmanuel Samyn \<<esamyn@gmail.com>\>
- Paulius Sladkevičius \<<paulius@inovera.lt>\>
- Benoît Guillot \<<benoit.guillot@akretion.com.br>\>
- David Beal \<<david.beal@akretion.com>\>
- Maxime Chambreuil \<<maxime.chambreuil@savoirfairelinux.com>\>
- Joël Grand-Guillaume \<<joel.grandguillaume@gmail.com>\>
- Ondřej Kuzník \<<ondrej.kuznik@credativ.co.uk>\>
- Yanina Aular \<<yanina.aular@vauxoo.com>\>
- Cyril Gaudin \<<cyril.gaudin@camptocamp.com>\>
- Bima Jati Wijaya \<<bimajatiwijaya@gmail.com>\>
- Serpent Consulting Services Pvt. Ltd. \<<support@serpentcs.com>\>

View File

@@ -1,11 +0,0 @@
* Emmanuel Samyn <esamyn@gmail.com>
* Paulius Sladkevičius <paulius@inovera.lt>
* Benoît Guillot <benoit.guillot@akretion.com.br>
* David Beal <david.beal@akretion.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
* Joël Grand-Guillaume <joel.grandguillaume@gmail.com>
* Ondřej Kuzník <ondrej.kuznik@credativ.co.uk>
* Yanina Aular <yanina.aular@vauxoo.com>
* Cyril Gaudin <cyril.gaudin@camptocamp.com>
* Bima Jati Wijaya <bimajatiwijaya@gmail.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

View File

@@ -0,0 +1,10 @@
This module has been financially supported by:
- Inovera \<<https://www.inovera.lt>\>
- Akretion Brazil \<<https://www.akretion.com.br>\>
- Akretion \<<https://www.akretion.com>\>
- Savoir-faire Linux \<<https://www.savoirfairelinux.com>\>
- Credativ \<<https://www.credativ.co.uk>\>
- Vauxoo \<<https://www.vauxoo.com>\>
- Camp 2 Camp \<<https://camptocamp.com>\>
- Open Source Integrators \<<https://www.opensourceintegrators.com>\>

View File

@@ -1,10 +0,0 @@
This module has been financially supported by:
* Inovera <https://www.inovera.lt>
* Akretion Brazil <https://www.akretion.com.br>
* Akretion <https://www.akretion.com>
* Savoir-faire Linux <https://www.savoirfairelinux.com>
* Credativ <https://www.credativ.co.uk>
* Vauxoo <https://www.vauxoo.com>
* Camp 2 Camp <https://camptocamp.com>
* Open Source Integrators <https://www.opensourceintegrators.com>

View File

@@ -0,0 +1,3 @@
This module extends the functionality of 'Sales Management' to allows
you to set product warranty details on products and product-supplier
relation.

View File

@@ -1,2 +0,0 @@
This module extends the functionality of 'Sales Management' to allows you
to set product warranty details on products and product-supplier relation.

View File

@@ -0,0 +1,8 @@
To use this module, you need to:
1. Go to *Sales \> Products \> Products (or Product Variants)*
2. Create a new product (or product variant) or edit an existing one
and set 'Warranty Duration' under 'Sales' tab.
3. If 'Purchase' module is installed, got to *Sales \> Products \>
Products (or Product Variants)*, go to 'Purchase' tab, edit supplier
information lines an set the warranty information for each one.

View File

@@ -1,8 +0,0 @@
To use this module, you need to:
#. Go to *Sales > Products > Products (or Product Variants)*
#. Create a new product (or product variant) or edit an existing one
and set 'Warranty Duration' under 'Sales' tab.
#. If 'Purchase' module is installed, got to
*Sales > Products > Products (or Product Variants)*, go to 'Purchase' tab,
edit supplier information lines an set the warranty information for each one.

View File

@@ -1,4 +1,3 @@
<?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"> <!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"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
@@ -369,9 +368,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e2a2dd1d73c3c13ce90b5583f8c54c1a820658328338ddbf933ee5dc52dff6bc !! source digest: sha256:e2a2dd1d73c3c13ce90b5583f8c54c1a820658328338ddbf933ee5dc52dff6bc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/rma/tree/16.0/product_warranty"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty"><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/rma&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><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/rma/tree/17.0/product_warranty"><img alt="OCA/rma" src="https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-product_warranty"><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/rma&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 module extends the functionality of Sales Management to allows you <p>This module extends the functionality of Sales Management to allows
to set product warranty details on products and product-supplier relation.</p> you to set product warranty details on products and product-supplier
relation.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
<ul class="simple"> <ul class="simple">
@@ -397,11 +397,11 @@ to set product warranty details on products and product-supplier relation.</p>
<p>To use this module, you need to:</p> <p>To use this module, you need to:</p>
<ol class="arabic simple"> <ol class="arabic simple">
<li>Go to <em>Sales &gt; Products &gt; Products (or Product Variants)</em></li> <li>Go to <em>Sales &gt; Products &gt; Products (or Product Variants)</em></li>
<li>Create a new product (or product variant) or edit an existing one <li>Create a new product (or product variant) or edit an existing one and
and set Warranty Duration under Sales tab.</li> set Warranty Duration under Sales tab.</li>
<li>If Purchase module is installed, got to <li>If Purchase module is installed, got to <em>Sales &gt; Products &gt;
<em>Sales &gt; Products &gt; Products (or Product Variants)</em>, go to Purchase tab, Products (or Product Variants)</em>, go to Purchase tab, edit supplier
edit supplier information lines an set the warranty information for each one.</li> information lines an set the warranty information for each one.</li>
</ol> </ol>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
@@ -409,7 +409,7 @@ edit supplier information lines an set the warranty information for each one.</l
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rma/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rma/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. 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 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/rma/issues/new?body=module:%20product_warranty%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/rma/issues/new?body=module:%20product_warranty%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> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@@ -460,7 +460,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/osi-scampbell"><img alt="osi-scampbell" src="https://github.com/osi-scampbell.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/max3903"><img alt="max3903" src="https://github.com/max3903.png?size=40px" /></a></p> <p><a class="reference external image-reference" href="https://github.com/osi-scampbell"><img alt="osi-scampbell" src="https://github.com/osi-scampbell.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/max3903"><img alt="max3903" src="https://github.com/max3903.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rma/tree/16.0/product_warranty">OCA/rma</a> project on GitHub.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/rma/tree/17.0/product_warranty">OCA/rma</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> <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>
</div> </div>