From 402ba565364b0eb23aa40be9facb801740446b6c Mon Sep 17 00:00:00 2001 From: augusto-weiss Date: Mon, 30 Jan 2023 10:45:06 -0300 Subject: [PATCH] [ADD][15.0] product_brand: Print product brand on sale and invoice reports --- product_brand_invoice_report/README.rst | 79 ++++++++++++++++++ product_brand_invoice_report/__init__.py | 0 product_brand_invoice_report/__manifest__.py | 13 +++ .../readme/CONTRIBUTORS.rst | 1 + .../readme/CREDITS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + product_brand_invoice_report/readme/USAGE.rst | 3 + .../reports/report_invoice.xml | 13 +++ product_brand_sale_report/README.rst | 80 +++++++++++++++++++ product_brand_sale_report/__init__.py | 0 product_brand_sale_report/__manifest__.py | 13 +++ .../readme/CONTRIBUTORS.rst | 1 + product_brand_sale_report/readme/CREDITS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + product_brand_sale_report/readme/USAGE.rst | 3 + .../reports/sale_reports.xml | 13 +++ .../odoo/addons/product_brand_invoice_report | 1 + setup/product_brand_invoice_report/setup.py | 6 ++ .../odoo/addons/product_brand_sale_report | 1 + setup/product_brand_sale_report/setup.py | 6 ++ 20 files changed, 237 insertions(+) create mode 100644 product_brand_invoice_report/README.rst create mode 100644 product_brand_invoice_report/__init__.py create mode 100644 product_brand_invoice_report/__manifest__.py create mode 100644 product_brand_invoice_report/readme/CONTRIBUTORS.rst create mode 100644 product_brand_invoice_report/readme/CREDITS.rst create mode 100644 product_brand_invoice_report/readme/DESCRIPTION.rst create mode 100644 product_brand_invoice_report/readme/USAGE.rst create mode 100644 product_brand_invoice_report/reports/report_invoice.xml create mode 100644 product_brand_sale_report/README.rst create mode 100644 product_brand_sale_report/__init__.py create mode 100644 product_brand_sale_report/__manifest__.py create mode 100644 product_brand_sale_report/readme/CONTRIBUTORS.rst create mode 100644 product_brand_sale_report/readme/CREDITS.rst create mode 100644 product_brand_sale_report/readme/DESCRIPTION.rst create mode 100644 product_brand_sale_report/readme/USAGE.rst create mode 100644 product_brand_sale_report/reports/sale_reports.xml create mode 120000 setup/product_brand_invoice_report/odoo/addons/product_brand_invoice_report create mode 100644 setup/product_brand_invoice_report/setup.py create mode 120000 setup/product_brand_sale_report/odoo/addons/product_brand_sale_report create mode 100644 setup/product_brand_sale_report/setup.py diff --git a/product_brand_invoice_report/README.rst b/product_brand_invoice_report/README.rst new file mode 100644 index 000000000..41773efa0 --- /dev/null +++ b/product_brand_invoice_report/README.rst @@ -0,0 +1,79 @@ +===================================== +Print Product Brand on Invoice Report +===================================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png + :target: https://odoo-community.org/page/development-status + :alt: Mature +.. |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%2Fbrand-lightgray.png?logo=github + :target: https://github.com/OCA/brand/tree/15.0/product_brand + :alt: OCA/brand +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-product_brand + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/284/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows odoo users to print product brand on sale reports. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Known issues / Roadmap +====================== + + +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 +~~~~~~~ + +* Adhoc + +Contributors +~~~~~~~~~~~~ + +* Augusto Weiss + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/brand `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_brand_invoice_report/__init__.py b/product_brand_invoice_report/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/product_brand_invoice_report/__manifest__.py b/product_brand_invoice_report/__manifest__.py new file mode 100644 index 000000000..bbf79153f --- /dev/null +++ b/product_brand_invoice_report/__manifest__.py @@ -0,0 +1,13 @@ +{ + "name": "Print Product Brand", + "summary": "This module add the product brand on invoice reports", + "version": "15.0.1.0.0", + "license": "AGPL-3", + "website": "https://github.com/OCA/brand", + "author": "Adhoc SA, Odoo Community Association (OCA)", + "category": "Warehouse Management", + "depends": ["product_brand", "sale"], + "data": ["reports/report_invoice.xml"], + "installable": True, + "auto_install": True, +} diff --git a/product_brand_invoice_report/readme/CONTRIBUTORS.rst b/product_brand_invoice_report/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..8e7f26589 --- /dev/null +++ b/product_brand_invoice_report/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Augusto Weiss diff --git a/product_brand_invoice_report/readme/CREDITS.rst b/product_brand_invoice_report/readme/CREDITS.rst new file mode 100644 index 000000000..9cb5980d0 --- /dev/null +++ b/product_brand_invoice_report/readme/CREDITS.rst @@ -0,0 +1 @@ +* Adhoc S.A. diff --git a/product_brand_invoice_report/readme/DESCRIPTION.rst b/product_brand_invoice_report/readme/DESCRIPTION.rst new file mode 100644 index 000000000..a1001dea6 --- /dev/null +++ b/product_brand_invoice_report/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module add the product brand to the invoice report diff --git a/product_brand_invoice_report/readme/USAGE.rst b/product_brand_invoice_report/readme/USAGE.rst new file mode 100644 index 000000000..f78e597fc --- /dev/null +++ b/product_brand_invoice_report/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: + +#. Just install diff --git a/product_brand_invoice_report/reports/report_invoice.xml b/product_brand_invoice_report/reports/report_invoice.xml new file mode 100644 index 000000000..a954104b5 --- /dev/null +++ b/product_brand_invoice_report/reports/report_invoice.xml @@ -0,0 +1,13 @@ + + + + diff --git a/product_brand_sale_report/README.rst b/product_brand_sale_report/README.rst new file mode 100644 index 000000000..a9793a913 --- /dev/null +++ b/product_brand_sale_report/README.rst @@ -0,0 +1,80 @@ +================================== +Print Product Brand on Sale Report +================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png + :target: https://odoo-community.org/page/development-status + :alt: Mature +.. |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%2Fbrand-lightgray.png?logo=github + :target: https://github.com/OCA/brand/tree/15.0/product_brand + :alt: OCA/brand +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-product_brand + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/284/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows odoo users to print product brand on sale reports. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Known issues / Roadmap +====================== + + +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 +~~~~~~~ + +* Adhoc + +Contributors +~~~~~~~~~~~~ + +* Augusto Weiss + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/brand `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_brand_sale_report/__init__.py b/product_brand_sale_report/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/product_brand_sale_report/__manifest__.py b/product_brand_sale_report/__manifest__.py new file mode 100644 index 000000000..5a93d9697 --- /dev/null +++ b/product_brand_sale_report/__manifest__.py @@ -0,0 +1,13 @@ +{ + "name": "Print Product Brand", + "summary": "This module add the product brand on sale reports", + "version": "15.0.1.0.0", + "license": "AGPL-3", + "website": "https://github.com/OCA/brand", + "author": "Adhoc SA, Odoo Community Association (OCA)", + "category": "Warehouse Management", + "depends": ["product_brand", "sale"], + "data": ["reports/sale_reports.xml"], + "installable": True, + "auto_install": True, +} diff --git a/product_brand_sale_report/readme/CONTRIBUTORS.rst b/product_brand_sale_report/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..8e7f26589 --- /dev/null +++ b/product_brand_sale_report/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Augusto Weiss diff --git a/product_brand_sale_report/readme/CREDITS.rst b/product_brand_sale_report/readme/CREDITS.rst new file mode 100644 index 000000000..9cb5980d0 --- /dev/null +++ b/product_brand_sale_report/readme/CREDITS.rst @@ -0,0 +1 @@ +* Adhoc S.A. diff --git a/product_brand_sale_report/readme/DESCRIPTION.rst b/product_brand_sale_report/readme/DESCRIPTION.rst new file mode 100644 index 000000000..6d6e33582 --- /dev/null +++ b/product_brand_sale_report/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module add the product brand to the sale report diff --git a/product_brand_sale_report/readme/USAGE.rst b/product_brand_sale_report/readme/USAGE.rst new file mode 100644 index 000000000..f78e597fc --- /dev/null +++ b/product_brand_sale_report/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: + +#. Just install diff --git a/product_brand_sale_report/reports/sale_reports.xml b/product_brand_sale_report/reports/sale_reports.xml new file mode 100644 index 000000000..89f420f48 --- /dev/null +++ b/product_brand_sale_report/reports/sale_reports.xml @@ -0,0 +1,13 @@ + + + + diff --git a/setup/product_brand_invoice_report/odoo/addons/product_brand_invoice_report b/setup/product_brand_invoice_report/odoo/addons/product_brand_invoice_report new file mode 120000 index 000000000..92cdb4ee1 --- /dev/null +++ b/setup/product_brand_invoice_report/odoo/addons/product_brand_invoice_report @@ -0,0 +1 @@ +../../../../product_brand_invoice_report \ No newline at end of file diff --git a/setup/product_brand_invoice_report/setup.py b/setup/product_brand_invoice_report/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/product_brand_invoice_report/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_brand_sale_report/odoo/addons/product_brand_sale_report b/setup/product_brand_sale_report/odoo/addons/product_brand_sale_report new file mode 120000 index 000000000..4e4351fe1 --- /dev/null +++ b/setup/product_brand_sale_report/odoo/addons/product_brand_sale_report @@ -0,0 +1 @@ +../../../../product_brand_sale_report \ No newline at end of file diff --git a/setup/product_brand_sale_report/setup.py b/setup/product_brand_sale_report/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/product_brand_sale_report/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)