[IMP] contract_variable_qty_timesheet: pre-commit auto fixes

This commit is contained in:
Juanjo
2024-08-21 09:32:20 +02:00
committed by Pedro M. Baeza
parent 11e0a529a2
commit 9e54e48999
9 changed files with 59 additions and 58 deletions

View File

@@ -17,20 +17,20 @@ Contract Variable Qty Timesheet
: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%2Fcontract-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/16.0/contract_variable_qty_timesheet :target: https://github.com/OCA/contract/tree/17.0/contract_variable_qty_timesheet
:alt: OCA/contract :alt: OCA/contract
.. |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/contract-16-0/contract-16-0-contract_variable_qty_timesheet :target: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_variable_qty_timesheet
: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/contract&target_branch=16.0 :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&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 contract_variable_quantity adding This module extends the functionality of contract_variable_quantity
several variable quantity formulas to allow to invoice lines from Timesheet adding several variable quantity formulas to allow to invoice lines from
(Analytic Lines). Timesheet (Analytic Lines).
**Table of contents** **Table of contents**
@@ -42,12 +42,13 @@ Usage
To use this module, you need to: To use this module, you need to:
#. Go to Invoicing > Customers > Customer Contracts and select or create a new contract. 1. Go to Invoicing > Customers > Customer Contracts and select or create
#. Check *Generate recurring invoices automatically*. a new contract.
#. Add a new recurring invoicing line. 2. Check *Generate recurring invoices automatically*.
#. Select "Variable quantity" in column "Qty. type". 3. Add a new recurring invoicing line.
#. Select "Project Timesheets", "Tasks Timesheets" or "Analytic Same Product" 4. Select "Variable quantity" in column "Qty. type".
depending on your need. 5. Select "Project Timesheets", "Tasks Timesheets" or "Analytic Same
Product" depending on your need.
Bug Tracker Bug Tracker
=========== ===========
@@ -55,7 +56,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/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/contract/issues/new?body=module:%20contract_variable_qty_timesheet%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/contract/issues/new?body=module:%20contract_variable_qty_timesheet%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.
@@ -63,29 +64,29 @@ Credits
======= =======
Authors Authors
~~~~~~~ -------
* Tecnativa * Tecnativa
Contributors Contributors
~~~~~~~~~~~~ ------------
* `Tecnativa <https://www.tecnativa.com>`_: - `Tecnativa <https://www.tecnativa.com>`__:
* Carlos Dauden - Carlos Dauden
* Pedro M. Baeza - Pedro M. Baeza
* Carolina Fernandez - Carolina Fernandez
* `Guadaltech <https://www.guadaltech.es>`_: - `Guadaltech <https://www.guadaltech.es>`__:
* Fernando La Chica <fernandolachica@gmail.com> - Fernando La Chica <fernandolachica@gmail.com>
* `Coopdevs Treball <https://coopdevs.coop>`_: - `Coopdevs Treball <https://coopdevs.coop>`__:
* Daniel Palomar <daniel.palomar@coopdevs.org> - Daniel Palomar <daniel.palomar@coopdevs.org>
Maintainers Maintainers
~~~~~~~~~~~ -----------
This module is maintained by the OCA. This module is maintained by the OCA.
@@ -111,6 +112,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-carlosdauden| |maintainer-pedrobaeza| |maintainer-danypr92| |maintainer-carlosdauden| |maintainer-pedrobaeza| |maintainer-danypr92|
This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/16.0/contract_variable_qty_timesheet>`_ project on GitHub. This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/17.0/contract_variable_qty_timesheet>`_ 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

@@ -0,0 +1,8 @@
- [Tecnativa](https://www.tecnativa.com):
- Carlos Dauden
- Pedro M. Baeza
- Carolina Fernandez
- [Guadaltech](https://www.guadaltech.es):
- Fernando La Chica \<<fernandolachica@gmail.com>\>
- [Coopdevs Treball](https://coopdevs.coop):
- Daniel Palomar \<<daniel.palomar@coopdevs.org>\>

View File

@@ -1,13 +0,0 @@
* `Tecnativa <https://www.tecnativa.com>`_:
* Carlos Dauden
* Pedro M. Baeza
* Carolina Fernandez
* `Guadaltech <https://www.guadaltech.es>`_:
* Fernando La Chica <fernandolachica@gmail.com>
* `Coopdevs Treball <https://coopdevs.coop>`_:
* Daniel Palomar <daniel.palomar@coopdevs.org>

View File

@@ -0,0 +1,3 @@
This module extends the functionality of contract_variable_quantity
adding several variable quantity formulas to allow to invoice lines from
Timesheet (Analytic Lines).

View File

@@ -1,3 +0,0 @@
This module extends the functionality of contract_variable_quantity adding
several variable quantity formulas to allow to invoice lines from Timesheet
(Analytic Lines).

View File

@@ -0,0 +1,9 @@
To use this module, you need to:
1. Go to Invoicing \> Customers \> Customer Contracts and select or
create a new contract.
2. Check *Generate recurring invoices automatically*.
3. Add a new recurring invoicing line.
4. Select "Variable quantity" in column "Qty. type".
5. Select "Project Timesheets", "Tasks Timesheets" or "Analytic Same
Product" depending on your need.

View File

@@ -1,8 +0,0 @@
To use this module, you need to:
#. Go to Invoicing > Customers > Customer Contracts and select or create a new contract.
#. Check *Generate recurring invoices automatically*.
#. Add a new recurring invoicing line.
#. Select "Variable quantity" in column "Qty. type".
#. Select "Project Timesheets", "Tasks Timesheets" or "Analytic Same Product"
depending on your need.

View File

@@ -369,10 +369,10 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:73b06705689ef093fa9faf3acbdfedbee3ddf23da70d43f7137298b1bd32c7eb !! source digest: sha256:73b06705689ef093fa9faf3acbdfedbee3ddf23da70d43f7137298b1bd32c7eb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/contract/tree/16.0/contract_variable_qty_timesheet"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_variable_qty_timesheet"><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/contract&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="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/contract/tree/17.0/contract_variable_qty_timesheet"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_variable_qty_timesheet"><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/contract&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 contract_variable_quantity adding <p>This module extends the functionality of contract_variable_quantity
several variable quantity formulas to allow to invoice lines from Timesheet adding several variable quantity formulas to allow to invoice lines from
(Analytic Lines).</p> Timesheet (Analytic Lines).</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">
@@ -390,12 +390,13 @@ several variable quantity formulas to allow to invoice lines from Timesheet
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1> <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<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 Invoicing &gt; Customers &gt; Customer Contracts and select or create a new contract.</li> <li>Go to Invoicing &gt; Customers &gt; Customer Contracts and select or create
a new contract.</li>
<li>Check <em>Generate recurring invoices automatically</em>.</li> <li>Check <em>Generate recurring invoices automatically</em>.</li>
<li>Add a new recurring invoicing line.</li> <li>Add a new recurring invoicing line.</li>
<li>Select “Variable quantity” in column “Qty. type”.</li> <li>Select “Variable quantity” in column “Qty. type”.</li>
<li>Select “Project Timesheets”, “Tasks Timesheets” or “Analytic Same Product” <li>Select “Project Timesheets”, “Tasks Timesheets” or “Analytic Same
depending on your need.</li> Product” depending on your need.</li>
</ol> </ol>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
@@ -403,7 +404,7 @@ depending on your need.</li>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/contract/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/contract/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/contract/issues/new?body=module:%20contract_variable_qty_timesheet%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/contract/issues/new?body=module:%20contract_variable_qty_timesheet%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">
@@ -444,7 +445,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/carlosdauden"><img alt="carlosdauden" src="https://github.com/carlosdauden.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/pedrobaeza"><img alt="pedrobaeza" src="https://github.com/pedrobaeza.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/danypr92"><img alt="danypr92" src="https://github.com/danypr92.png?size=40px" /></a></p> <p><a class="reference external image-reference" href="https://github.com/carlosdauden"><img alt="carlosdauden" src="https://github.com/carlosdauden.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/pedrobaeza"><img alt="pedrobaeza" src="https://github.com/pedrobaeza.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/danypr92"><img alt="danypr92" src="https://github.com/danypr92.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/contract/tree/16.0/contract_variable_qty_timesheet">OCA/contract</a> project on GitHub.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/contract/tree/17.0/contract_variable_qty_timesheet">OCA/contract</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>