diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst index 66ee8160..ed6899aa 100644 --- a/account_partner_required/README.rst +++ b/account_partner_required/README.rst @@ -1,10 +1,29 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 +======================== +Account partner required +======================== -======================== -Account Partner Required -======================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :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/12.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-12-0/account-financial-tools-12-0-account_partner_required + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds an option *Partner policy* on account types. @@ -19,10 +38,20 @@ customer and supplier accounts. This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_. +**Table of contents** + +.. contents:: + :local: + Configuration ============= -Go to the menu *Accounting > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*. +[ This file is optional, it should explain how to configure + the module before using it; it is aimed at advanced users. ] + +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*. Usage ===== @@ -31,46 +60,45 @@ If you put a partner on an account move line with an account whose type is confi 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. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/10.0 - 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 smashing it by providing a detailed and welcomed feedback. +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* ACSONE SA/NV +* Akretion Contributors ------------- +~~~~~~~~~~~~ * Stéphane Bidoul * Alexis de Lattre * Raf Ven -Do not contact contributors directly about support or help with technical issues. +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +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/__manifest__.py b/account_partner_required/__manifest__.py index 4cb24c9c..cd1752b1 100644 --- a/account_partner_required/__manifest__.py +++ b/account_partner_required/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Account partner required", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "category": "Accounting", "license": "AGPL-3", "summary": "Adds an option 'partner policy' on account types", diff --git a/account_partner_required/readme/CONFIGURE.rst b/account_partner_required/readme/CONFIGURE.rst new file mode 100644 index 00000000..7b4c7e49 --- /dev/null +++ b/account_partner_required/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ +[ This file is optional, it should explain how to configure + the module before using it; it is aimed at advanced users. ] + +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.rst b/account_partner_required/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..6120bfae --- /dev/null +++ b/account_partner_required/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Stéphane Bidoul +* Alexis de Lattre +* Raf Ven diff --git a/account_partner_required/readme/DESCRIPTION.rst b/account_partner_required/readme/DESCRIPTION.rst new file mode 100644 index 00000000..da1f6161 --- /dev/null +++ b/account_partner_required/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +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. + +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 `_. diff --git a/account_partner_required/readme/USAGE.rst b/account_partner_required/readme/USAGE.rst new file mode 100644 index 00000000..d218ca52 --- /dev/null +++ b/account_partner_required/readme/USAGE.rst @@ -0,0 +1,3 @@ +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 new file mode 100644 index 00000000..32d1b5ec --- /dev/null +++ b/account_partner_required/static/description/index.html @@ -0,0 +1,449 @@ + + + + + + +Account partner required + + + +
+

Account partner required

+ + +

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

+

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.
  • +
+

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.

+

Table of contents

+ +
+

Configuration

+
+
[ This file is optional, it should explain how to configure
+
the module before using it; it is aimed at advanced users. ]
+
+

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. +
+
+
+

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.

+
+
+

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 smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ACSONE SA/NV
  • +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+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/account-financial-tools project on GitHub.

+

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

+
+
+
+ +