diff --git a/contract_sale_invoicing/README.rst b/contract_sale_invoicing/README.rst index 348b23b1d..2ba203aae 100644 --- a/contract_sale_invoicing/README.rst +++ b/contract_sale_invoicing/README.rst @@ -17,20 +17,20 @@ Contract Invoicing of Pending Sales Orders :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github - :target: https://github.com/OCA/contract/tree/15.0/contract_sale_invoicing + :target: https://github.com/OCA/contract/tree/17.0/contract_sale_invoicing :alt: OCA/contract .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract_sale_invoicing + :target: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale_invoicing :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This modules allows to include on the same invoice than the recurring invoice -contract, all the pending to invoice sales orders that you have with the same -analytic account. +This modules allows to include on the same invoice than the recurring +invoice contract, all the pending to invoice sales orders that you have +with the same analytic account. **Table of contents** @@ -42,12 +42,13 @@ Usage To use this module, you need to: -#. Go to Invoicing > Sales > Contracts and select or create a new contract. -#. Check *Generate recurring invoices automatically*. -#. Mark the check "Invoice Pending Sales Orders". -#. On each invoicing, system will check if there's any pending sales orders - with same analyitic account and will append the lines to the invoice being - generated. +1. Go to Invoicing > Sales > Contracts and select or create a new + contract. +2. Check *Generate recurring invoices automatically*. +3. Mark the check "Invoice Pending Sales Orders". +4. On each invoicing, system will check if there's any pending sales + orders with same analyitic account and will append the lines to the + invoice being generated. Bug Tracker =========== @@ -55,7 +56,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. 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 -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -63,22 +64,23 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `_: +- `Tecnativa `__: - * Carlos Dauden - * Carolina Fernandez - * Pedro M. Baeza -* Souheil Bejaoui + - Carlos Dauden + - Carolina Fernandez + - Pedro M. Baeza + +- Souheil Bejaoui Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -90,6 +92,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/contract `_ project on GitHub. +This module is part of the `OCA/contract `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/contract_sale_invoicing/models/contract.py b/contract_sale_invoicing/models/contract.py index cabdaaaae..6be63a5a4 100644 --- a/contract_sale_invoicing/models/contract.py +++ b/contract_sale_invoicing/models/contract.py @@ -30,7 +30,7 @@ class ContractContract(models.Model): ( "date_order", "<=", - "{} 23:59:59".format(contract.recurring_next_date), + f"{contract.recurring_next_date} 23:59:59", ), ] ) diff --git a/contract_sale_invoicing/pyproject.toml b/contract_sale_invoicing/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/contract_sale_invoicing/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/contract_sale_invoicing/readme/CONTRIBUTORS.md b/contract_sale_invoicing/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..c32b5375d --- /dev/null +++ b/contract_sale_invoicing/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- [Tecnativa](https://www.tecnativa.com): + - Carlos Dauden + - Carolina Fernandez + - Pedro M. Baeza +- Souheil Bejaoui \<\> diff --git a/contract_sale_invoicing/readme/CONTRIBUTORS.rst b/contract_sale_invoicing/readme/CONTRIBUTORS.rst deleted file mode 100644 index f47d6e5bb..000000000 --- a/contract_sale_invoicing/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,6 +0,0 @@ -* `Tecnativa `_: - - * Carlos Dauden - * Carolina Fernandez - * Pedro M. Baeza -* Souheil Bejaoui diff --git a/contract_sale_invoicing/readme/DESCRIPTION.md b/contract_sale_invoicing/readme/DESCRIPTION.md new file mode 100644 index 000000000..aaca94f3e --- /dev/null +++ b/contract_sale_invoicing/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This modules allows to include on the same invoice than the recurring +invoice contract, all the pending to invoice sales orders that you have +with the same analytic account. diff --git a/contract_sale_invoicing/readme/DESCRIPTION.rst b/contract_sale_invoicing/readme/DESCRIPTION.rst deleted file mode 100644 index a3c42315e..000000000 --- a/contract_sale_invoicing/readme/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -This modules allows to include on the same invoice than the recurring invoice -contract, all the pending to invoice sales orders that you have with the same -analytic account. diff --git a/contract_sale_invoicing/readme/USAGE.md b/contract_sale_invoicing/readme/USAGE.md new file mode 100644 index 000000000..cc0eee50e --- /dev/null +++ b/contract_sale_invoicing/readme/USAGE.md @@ -0,0 +1,9 @@ +To use this module, you need to: + +1. Go to Invoicing \> Sales \> Contracts and select or create a new + contract. +2. Check *Generate recurring invoices automatically*. +3. Mark the check "Invoice Pending Sales Orders". +4. On each invoicing, system will check if there's any pending sales + orders with same analyitic account and will append the lines to the + invoice being generated. diff --git a/contract_sale_invoicing/readme/USAGE.rst b/contract_sale_invoicing/readme/USAGE.rst deleted file mode 100644 index e9e299c5b..000000000 --- a/contract_sale_invoicing/readme/USAGE.rst +++ /dev/null @@ -1,8 +0,0 @@ -To use this module, you need to: - -#. Go to Invoicing > Sales > Contracts and select or create a new contract. -#. Check *Generate recurring invoices automatically*. -#. Mark the check "Invoice Pending Sales Orders". -#. On each invoicing, system will check if there's any pending sales orders - with same analyitic account and will append the lines to the invoice being - generated. diff --git a/contract_sale_invoicing/static/description/index.html b/contract_sale_invoicing/static/description/index.html index 644b091ff..d6d5c1d30 100644 --- a/contract_sale_invoicing/static/description/index.html +++ b/contract_sale_invoicing/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,10 +369,10 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:2b2b2e531417f29b197fed649fe83609b1f0277ad1946cd51d1dc644c2e30479 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runboat

-

This modules allows to include on the same invoice than the recurring invoice -contract, all the pending to invoice sales orders that you have with the same -analytic account.

+

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runboat

+

This modules allows to include on the same invoice than the recurring +invoice contract, all the pending to invoice sales orders that you have +with the same analytic account.

Table of contents

    @@ -390,12 +390,13 @@ analytic account.

    Usage

    To use this module, you need to:

      -
    1. Go to Invoicing > Sales > Contracts and select or create a new contract.
    2. +
    3. Go to Invoicing > Sales > Contracts and select or create a new +contract.
    4. Check Generate recurring invoices automatically.
    5. Mark the check “Invoice Pending Sales Orders”.
    6. -
    7. On each invoicing, system will check if there’s any pending sales orders -with same analyitic account and will append the lines to the invoice being -generated.
    8. +
    9. On each invoicing, system will check if there’s any pending sales +orders with same analyitic account and will append the lines to the +invoice being generated.
@@ -403,7 +404,7 @@ generated.

Bugs are tracked on GitHub Issues. 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 -feedback.

+feedback.

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

@@ -429,11 +430,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/contract project on GitHub.

+

This module is part of the OCA/contract project on GitHub.

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