diff --git a/account_brand/README.rst b/account_brand/README.rst index c38025d87..f95ec586e 100644 --- a/account_brand/README.rst +++ b/account_brand/README.rst @@ -17,19 +17,19 @@ Account Brand :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github - :target: https://github.com/OCA/brand/tree/16.0/account_brand + :target: https://github.com/OCA/brand/tree/17.0/account_brand :alt: OCA/brand .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/brand-16-0/brand-16-0-account_brand + :target: https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-account_brand :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/brand&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows you to send branded invoices to your customers. -It adds a brand field on the invoice and the brand information to the PDF +This module allows you to send branded invoices to your customers. It +adds a brand field on the invoice and the brand information to the PDF report. **Table of contents** @@ -41,17 +41,17 @@ Configuration ============= To configure this module, please refer to the documentation of -`brand `_. +`brand `__. Usage ===== To use this module, you need to: -#. Go to Accounting > Customers > Invoices -#. Select or create an invoice -#. Enter the information and select the brand -#. Print the PDF report. It includes the information of the brand. +1. Go to Accounting > Customers > Invoices +2. Select or create an invoice +3. Enter the information and select the brand +4. Print the PDF report. It includes the information of the brand. Bug Tracker =========== @@ -59,7 +59,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. @@ -67,30 +67,30 @@ Credits ======= Authors -~~~~~~~ +------- * Open Source Integrators * ACSONE SA/NV Contributors -~~~~~~~~~~~~ +------------ -* Raphael Lee -* Steve Campbell -* Maxime Chambreuil +- Raphael Lee +- Steve Campbell +- Maxime Chambreuil +- `Obertix `__: -* `Obertix `_: + - Vicent Cubells - * Vicent Cubells -* Ammar Officewala +- Ammar Officewala Other credits -~~~~~~~~~~~~~ +------------- -* Open Source Integrators +- Open Source Integrators Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -113,6 +113,6 @@ Current `maintainers `__: |maintainer-osi-scampbell| |maintainer-sbejaoui| -This module is part of the `OCA/brand `_ project on GitHub. +This module is part of the `OCA/brand `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_brand/pyproject.toml b/account_brand/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/account_brand/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_brand/readme/CONFIGURE.md b/account_brand/readme/CONFIGURE.md new file mode 100644 index 000000000..e08467440 --- /dev/null +++ b/account_brand/readme/CONFIGURE.md @@ -0,0 +1,2 @@ +To configure this module, please refer to the documentation of +[brand](https://github.com/OCA/brand/blob/12.0/brand/README.rst). diff --git a/account_brand/readme/CONFIGURE.rst b/account_brand/readme/CONFIGURE.rst deleted file mode 100644 index 14f02f8f3..000000000 --- a/account_brand/readme/CONFIGURE.rst +++ /dev/null @@ -1,2 +0,0 @@ -To configure this module, please refer to the documentation of -`brand `_. diff --git a/account_brand/readme/CONTRIBUTORS.md b/account_brand/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..5b60ad651 --- /dev/null +++ b/account_brand/readme/CONTRIBUTORS.md @@ -0,0 +1,6 @@ +- Raphael Lee \<\> +- Steve Campbell \<\> +- Maxime Chambreuil \<\> +- [Obertix](https://www.obertix.net): + - Vicent Cubells +- Ammar Officewala \<\> diff --git a/account_brand/readme/CONTRIBUTORS.rst b/account_brand/readme/CONTRIBUTORS.rst deleted file mode 100644 index 1194917f2..000000000 --- a/account_brand/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* Raphael Lee -* Steve Campbell -* Maxime Chambreuil - -* `Obertix `_: - - * Vicent Cubells -* Ammar Officewala diff --git a/account_brand/readme/CREDITS.md b/account_brand/readme/CREDITS.md new file mode 100644 index 000000000..f9890b5be --- /dev/null +++ b/account_brand/readme/CREDITS.md @@ -0,0 +1 @@ +- Open Source Integrators \<\> diff --git a/account_brand/readme/CREDITS.rst b/account_brand/readme/CREDITS.rst deleted file mode 100644 index dab2345c9..000000000 --- a/account_brand/readme/CREDITS.rst +++ /dev/null @@ -1 +0,0 @@ -* Open Source Integrators diff --git a/account_brand/readme/DESCRIPTION.md b/account_brand/readme/DESCRIPTION.md new file mode 100644 index 000000000..794832469 --- /dev/null +++ b/account_brand/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module allows you to send branded invoices to your customers. It +adds a brand field on the invoice and the brand information to the PDF +report. diff --git a/account_brand/readme/DESCRIPTION.rst b/account_brand/readme/DESCRIPTION.rst deleted file mode 100644 index cb6151133..000000000 --- a/account_brand/readme/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -This module allows you to send branded invoices to your customers. -It adds a brand field on the invoice and the brand information to the PDF -report. diff --git a/account_brand/readme/USAGE.md b/account_brand/readme/USAGE.md new file mode 100644 index 000000000..9b843078b --- /dev/null +++ b/account_brand/readme/USAGE.md @@ -0,0 +1,6 @@ +To use this module, you need to: + +1. Go to Accounting \> Customers \> Invoices +2. Select or create an invoice +3. Enter the information and select the brand +4. Print the PDF report. It includes the information of the brand. diff --git a/account_brand/readme/USAGE.rst b/account_brand/readme/USAGE.rst deleted file mode 100644 index 005139f26..000000000 --- a/account_brand/readme/USAGE.rst +++ /dev/null @@ -1,6 +0,0 @@ -To use this module, you need to: - -#. Go to Accounting > Customers > Invoices -#. Select or create an invoice -#. Enter the information and select the brand -#. Print the PDF report. It includes the information of the brand. diff --git a/account_brand/static/description/index.html b/account_brand/static/description/index.html index 4592c140b..433316250 100644 --- a/account_brand/static/description/index.html +++ b/account_brand/static/description/index.html @@ -369,9 +369,9 @@

Account Brand

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:6dbc0d8cfac63a97b25a76fe68e37d6fb3505a5d38929edbfbab7bd6bf6bf5ff !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module allows you to send branded invoices to your customers. -It adds a brand field on the invoice and the brand information to the PDF +

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

+

This module allows you to send branded invoices to your customers. It +adds a brand field on the invoice and the brand information to the PDF report.

Table of contents

@@ -408,7 +408,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.

@@ -448,7 +448,7 @@

Maintainers

promote its widespread use.

Current maintainers:

osi-scampbell sbejaoui

-

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

+

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

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

diff --git a/account_brand/tests/test_account_move.py b/account_brand/tests/test_account_move.py index 39883ef79..f7ed4c058 100644 --- a/account_brand/tests/test_account_move.py +++ b/account_brand/tests/test_account_move.py @@ -67,7 +67,6 @@ def _get_receivable_account(self, move): ).account_id def test_on_change_partner_id(self): - account = self._get_receivable_account(self.move) self.assertEqual(account, self.account_receivable) partner_account_brand = self.env["res.partner.account.brand"].create( diff --git a/account_brand/wizards/account_move_reversal.py b/account_brand/wizards/account_move_reversal.py index fa87ad46f..41b491659 100644 --- a/account_brand/wizards/account_move_reversal.py +++ b/account_brand/wizards/account_move_reversal.py @@ -5,7 +5,6 @@ class AccountMoveReversal(models.TransientModel): - _inherit = "account.move.reversal" def _prepare_default_reversal(self, move):