diff --git a/sale_order_report_product_image/README.rst b/sale_order_report_product_image/README.rst new file mode 100644 index 00000000..d2cdedbf --- /dev/null +++ b/sale_order_report_product_image/README.rst @@ -0,0 +1,111 @@ +=============================== +Sale Order Report Product Image +=============================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:42b39563d1b81c710d7d85858c404ddd2cda0463ed3e5c480b8d86c78ee3c2fd + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fsale--reporting-lightgray.png?logo=github + :target: https://github.com/OCA/sale-reporting/tree/17.0/sale_order_report_product_image + :alt: OCA/sale-reporting +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-reporting-17-0/sale-reporting-17-0-sale_order_report_product_image + :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/sale-reporting&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to show product images in sales order report. If +product does not have its image, a generic icon will be displayed. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +You need to install *sale_management* module for accessing the needed +menus. + +Usage +===== + +- Go to **Sales > Orders** and print a quotation or sales order. You + must see the product images in report now. + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Vicent Cubells + +- `DynApps `__: + + - Raf Ven + +- `Dinamiche Aziendali srl `__: + + - Giuseppe Borruso + +- `Camptocamp `__ + + - Iván Todorovich + +- `Vauxoo `__ + + - Jesús Valdez + +- `WeSolved BV `__ + + - Riste Kabranov + +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/sale-reporting `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_report_product_image/__init__.py b/sale_order_report_product_image/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/sale_order_report_product_image/__manifest__.py b/sale_order_report_product_image/__manifest__.py new file mode 100644 index 00000000..ff77916a --- /dev/null +++ b/sale_order_report_product_image/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2018 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Sale Order Report Product Image", + "summary": "Show product images on Sale documents", + "version": "17.0.1.0.0", + "category": "Sale", + "website": "https://github.com/OCA/sale-reporting", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["sale"], + "data": ["views/report_saleorder.xml"], +} diff --git a/sale_order_report_product_image/i18n/de.po b/sale_order_report_product_image/i18n/de.po new file mode 100644 index 00000000..2b2a69d6 --- /dev/null +++ b/sale_order_report_product_image/i18n/de.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_report_product_image +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-02-23 17:00+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: sale_order_report_product_image +#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image +msgid "Image" +msgstr "Bild" diff --git a/sale_order_report_product_image/i18n/es.po b/sale_order_report_product_image/i18n/es.po new file mode 100644 index 00000000..fba7c25a --- /dev/null +++ b/sale_order_report_product_image/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_report_product_image +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-09-27 08:48+0000\n" +"PO-Revision-Date: 2023-02-23 17:00+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_report_product_image +#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image +msgid "Image" +msgstr "Imagen" diff --git a/sale_order_report_product_image/i18n/it.po b/sale_order_report_product_image/i18n/it.po new file mode 100644 index 00000000..9af09edc --- /dev/null +++ b/sale_order_report_product_image/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_report_product_image +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-04-18 23:01+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: sale_order_report_product_image +#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image +msgid "Image" +msgstr "Immagine" diff --git a/sale_order_report_product_image/i18n/pt.po b/sale_order_report_product_image/i18n/pt.po new file mode 100644 index 00000000..b1860198 --- /dev/null +++ b/sale_order_report_product_image/i18n/pt.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_report_product_image +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-09 11:03+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: none\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_report_product_image +#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image +msgid "Image" +msgstr "Imagem" diff --git a/sale_order_report_product_image/i18n/sale_order_report_product_image.pot b/sale_order_report_product_image/i18n/sale_order_report_product_image.pot new file mode 100644 index 00000000..d8fc1518 --- /dev/null +++ b/sale_order_report_product_image/i18n/sale_order_report_product_image.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_report_product_image +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_report_product_image +#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image +msgid "Image" +msgstr "" diff --git a/sale_order_report_product_image/pyproject.toml b/sale_order_report_product_image/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/sale_order_report_product_image/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_order_report_product_image/readme/CONTRIBUTORS.md b/sale_order_report_product_image/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..0691e164 --- /dev/null +++ b/sale_order_report_product_image/readme/CONTRIBUTORS.md @@ -0,0 +1,12 @@ +- [Tecnativa](https://www.tecnativa.com): + - Vicent Cubells \<\> +- [DynApps](https://www.dynapps.be): + - Raf Ven \<\> +- [Dinamiche Aziendali srl](https://www.dinamicheaziendali.it): + - Giuseppe Borruso \<\> +- [Camptocamp](https://www.camptocamp.com) + - Iván Todorovich \<\> +- [Vauxoo](https://www.vauxoo.com) + - Jesús Valdez \<\> +- [WeSolved BV](https://www.wesolved.com) + - Riste Kabranov \<\> diff --git a/sale_order_report_product_image/readme/DESCRIPTION.md b/sale_order_report_product_image/readme/DESCRIPTION.md new file mode 100644 index 00000000..36df1522 --- /dev/null +++ b/sale_order_report_product_image/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module allows to show product images in sales order report. If +product does not have its image, a generic icon will be displayed. diff --git a/sale_order_report_product_image/readme/INSTALL.md b/sale_order_report_product_image/readme/INSTALL.md new file mode 100644 index 00000000..0d59d364 --- /dev/null +++ b/sale_order_report_product_image/readme/INSTALL.md @@ -0,0 +1,2 @@ +You need to install *sale_management* module for accessing the needed +menus. diff --git a/sale_order_report_product_image/readme/USAGE.md b/sale_order_report_product_image/readme/USAGE.md new file mode 100644 index 00000000..485bc6c5 --- /dev/null +++ b/sale_order_report_product_image/readme/USAGE.md @@ -0,0 +1,2 @@ +- Go to **Sales \> Orders** and print a quotation or sales order. You + must see the product images in report now. diff --git a/sale_order_report_product_image/static/description/icon.png b/sale_order_report_product_image/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/sale_order_report_product_image/static/description/icon.png differ diff --git a/sale_order_report_product_image/static/description/index.html b/sale_order_report_product_image/static/description/index.html new file mode 100644 index 00000000..1b7114a6 --- /dev/null +++ b/sale_order_report_product_image/static/description/index.html @@ -0,0 +1,461 @@ + + + + + +Sale Order Report Product Image + + + +
+

Sale Order Report Product Image

+ + +

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

+

This module allows to show product images in sales order report. If +product does not have its image, a generic icon will be displayed.

+

Table of contents

+ +
+

Installation

+

You need to install sale_management module for accessing the needed +menus.

+
+
+

Usage

+
    +
  • Go to Sales > Orders and print a quotation or sales order. You +must see the product images in report now.
  • +
+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

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/sale-reporting project on GitHub.

+

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

+
+
+
+ + diff --git a/sale_order_report_product_image/views/report_saleorder.xml b/sale_order_report_product_image/views/report_saleorder.xml new file mode 100644 index 00000000..63af705d --- /dev/null +++ b/sale_order_report_product_image/views/report_saleorder.xml @@ -0,0 +1,27 @@ + + + + + +