diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst index 363b3a666..93283ce87 100644 --- a/account_partner_required/README.rst +++ b/account_partner_required/README.rst @@ -17,13 +17,13 @@ Account Partner Required :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-tools/tree/16.0/account_partner_required + :target: https://github.com/OCA/account-financial-tools/tree/17.0/account_partner_required :alt: OCA/account-financial-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_partner_required + :target: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_partner_required :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/account-financial-tools&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -32,14 +32,16 @@ This module adds an option *Partner policy* on account types. You have the choice between 3 policies: -* *optional* (the default policy): partner is optional, -* *always*: require a partner, -* *never*: forbid a partner. +- *optional* (the default policy): partner is optional, +- *always*: require a partner, +- *never*: forbid a partner. This module is useful to enforce a partner on account move lines on customer and supplier accounts. -This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_. +This module is very similar to the module *account_analytic_required* +available in the OCA project +`account-analytic `__. **Table of contents** @@ -51,14 +53,20 @@ Configuration To configure this module, you need to: -#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*. +1. Go to the menu *Invoicing > Configuration > Accounting > Account + Types* and edit each account types to configure the correct *Partner + policy*. Usage ===== -If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message. +If you put a partner on an account move line with an account whose type +is configured with *Partner policy* = *never*, you will get an error +message. -If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message. +If you don't put a partner on an account move line with an account whose +type is configured with *Partner policy* = *always*, you will get an +error message. Bug Tracker =========== @@ -66,7 +74,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. @@ -74,20 +82,20 @@ Credits ======= Authors -~~~~~~~ +------- * ACSONE SA/NV * Akretion Contributors -~~~~~~~~~~~~ +------------ -* Stéphane Bidoul -* Alexis de Lattre -* Raf Ven +- Stéphane Bidoul +- Alexis de Lattre +- Raf Ven Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -107,6 +115,6 @@ Current `maintainer `__: |maintainer-alexis-via| -This module is part of the `OCA/account-financial-tools `_ project on GitHub. +This module is part of the `OCA/account-financial-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_partner_required/pyproject.toml b/account_partner_required/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/account_partner_required/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_partner_required/readme/CONFIGURE.md b/account_partner_required/readme/CONFIGURE.md new file mode 100644 index 000000000..98a6c7422 --- /dev/null +++ b/account_partner_required/readme/CONFIGURE.md @@ -0,0 +1,5 @@ +To configure this module, you need to: + +1. Go to the menu *Invoicing \> Configuration \> Accounting \> Account + Types* and edit each account types to configure the correct *Partner + policy*. diff --git a/account_partner_required/readme/CONFIGURE.rst b/account_partner_required/readme/CONFIGURE.rst deleted file mode 100644 index 9636c9bbd..000000000 --- a/account_partner_required/readme/CONFIGURE.rst +++ /dev/null @@ -1,3 +0,0 @@ -To configure this module, you need to: - -#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*. diff --git a/account_partner_required/readme/CONTRIBUTORS.md b/account_partner_required/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..4952d6c1e --- /dev/null +++ b/account_partner_required/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Stéphane Bidoul \<\> +- Alexis de Lattre \<\> +- Raf Ven \<\> diff --git a/account_partner_required/readme/CONTRIBUTORS.rst b/account_partner_required/readme/CONTRIBUTORS.rst deleted file mode 100644 index 6120bfaea..000000000 --- a/account_partner_required/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Stéphane Bidoul -* Alexis de Lattre -* Raf Ven diff --git a/account_partner_required/readme/DESCRIPTION.rst b/account_partner_required/readme/DESCRIPTION.md similarity index 55% rename from account_partner_required/readme/DESCRIPTION.rst rename to account_partner_required/readme/DESCRIPTION.md index da1f6161d..aa4c2d3df 100644 --- a/account_partner_required/readme/DESCRIPTION.rst +++ b/account_partner_required/readme/DESCRIPTION.md @@ -2,11 +2,13 @@ This module adds an option *Partner policy* on account types. You have the choice between 3 policies: -* *optional* (the default policy): partner is optional, -* *always*: require a partner, -* *never*: forbid a partner. +- *optional* (the default policy): partner is optional, +- *always*: require a partner, +- *never*: forbid a partner. This module is useful to enforce a partner on account move lines on customer and supplier accounts. -This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_. +This module is very similar to the module *account_analytic_required* +available in the OCA project +[account-analytic](https://github.com/OCA/account-analytic). diff --git a/account_partner_required/readme/USAGE.md b/account_partner_required/readme/USAGE.md new file mode 100644 index 000000000..081413d15 --- /dev/null +++ b/account_partner_required/readme/USAGE.md @@ -0,0 +1,7 @@ +If you put a partner on an account move line with an account whose type +is configured with *Partner policy* = *never*, you will get an error +message. + +If you don't put a partner on an account move line with an account whose +type is configured with *Partner policy* = *always*, you will get an +error message. diff --git a/account_partner_required/readme/USAGE.rst b/account_partner_required/readme/USAGE.rst deleted file mode 100644 index d218ca52f..000000000 --- a/account_partner_required/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message. - -If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message. diff --git a/account_partner_required/static/description/index.html b/account_partner_required/static/description/index.html index 0eb8127ac..56c658e49 100644 --- a/account_partner_required/static/description/index.html +++ b/account_partner_required/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:75b53dc07b1b6ed19bbeb311cdbe042e86feef1d9c1dab87ec5cf4dbedc93af9 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

This module adds an option Partner policy on account types.

You have the choice between 3 policies:

    @@ -379,7 +379,9 @@ ul.auto-toc {

This module is useful to enforce a partner on account move lines on customer and supplier accounts.

-

This module is very similar to the module account_analytic_required available in the OCA project account-analytic.

+

This module is very similar to the module account_analytic_required +available in the OCA project +account-analytic.

Table of contents

    @@ -398,20 +400,26 @@ customer and supplier accounts.

    Configuration

    To configure this module, you need to:

      -
    1. Go to the menu Invoicing > Configuration > Accounting > Account Types and edit each account types to configure the correct Partner policy.
    2. +
    3. Go to the menu Invoicing > Configuration > Accounting > Account +Types and edit each account types to configure the correct Partner +policy.

Usage

-

If you put a partner on an account move line with an account whose type is configured with Partner policy = never, you will get an error message.

-

If you don’t put a partner on an account move line with an account whose type is configured with Partner policy = always, you will get an error message.

+

If you put a partner on an account move line with an account whose type +is configured with Partner policy = never, you will get an error +message.

+

If you don’t put a partner on an account move line with an account whose +type is configured with Partner policy = always, you will get an +error message.

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.

@@ -440,7 +448,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

alexis-via

-

This module is part of the OCA/account-financial-tools project on GitHub.

+

This module is part of the OCA/account-financial-tools project on GitHub.

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