diff --git a/stock_picking_report_custom_description/README.rst b/stock_picking_report_custom_description/README.rst index 6eb2496..648a791 100644 --- a/stock_picking_report_custom_description/README.rst +++ b/stock_picking_report_custom_description/README.rst @@ -1,40 +1,83 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ======================================= Stock Picking Report Custom Description ======================================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fstock--logistics--reporting-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-reporting/tree/11.0/stock_picking_report_custom_description + :alt: OCA/stock-logistics-reporting +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-11-0/stock-logistics-reporting-11-0-stock_picking_report_custom_description + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/151/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module allows to print moves description in picking reports. +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Create a sale order and set manual description in sale order lines. +#. Go to *Inventory > Deliveries* and you can print the reports with move name + instead product name. + 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 smash it by providing 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 ======= +Authors +~~~~~~~ + +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Carlos Dauden +* Sergio Teruel -Maintainer ----------- - -.. image:: http://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: http://odoo-community.org +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. -To contribute to this module, please visit http://odoo-community.org. +This module is part of the `OCA/stock-logistics-reporting `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_report_custom_description/__init__.py b/stock_picking_report_custom_description/__init__.py index a9e3372..e69de29 100644 --- a/stock_picking_report_custom_description/__init__.py +++ b/stock_picking_report_custom_description/__init__.py @@ -1,2 +0,0 @@ - -from . import models diff --git a/stock_picking_report_custom_description/__manifest__.py b/stock_picking_report_custom_description/__manifest__.py index 0c05841..b72ea87 100644 --- a/stock_picking_report_custom_description/__manifest__.py +++ b/stock_picking_report_custom_description/__manifest__.py @@ -1,4 +1,6 @@ -# Copyright 2017 Carlos Dauden +# Copyright 2017 Tecnativa - Carlos Dauden +# Copyright 2018 Tecnativa - Vicent Cubells +# Copyright 2018 Tecnativa - Sergio Teruel # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { @@ -6,7 +8,7 @@ "summary": "Show moves description in picking reports", "version": "11.0.1.0.0", "category": "Warehouse", - "website": "https://www.tecnativa.com", + "website": "https://github.com/OCA/stock-logistics-reporting", "author": "Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/stock_picking_report_custom_description/i18n/es.po b/stock_picking_report_custom_description/i18n/es.po index db0c173..d7f2d7e 100644 --- a/stock_picking_report_custom_description/i18n/es.po +++ b/stock_picking_report_custom_description/i18n/es.po @@ -18,31 +18,23 @@ msgstr "" "X-Generator: Poedit 1.8.7.1\n" #. module: stock_picking_report_custom_description -#: model:ir.ui.view,arch_db:stock_picking_report_custom_description.pack_operation_product_description -msgid "Description" -msgstr "Descripción" - -#. module: stock_picking_report_custom_description -#: model:ir.ui.view,arch_db:stock_picking_report_custom_description.pack_operation_product_description -msgid "Qty" -msgstr "Ctd." - -#. module: stock_picking_report_custom_description -#: model:ir.actions.report.xml,name:stock_picking_report_custom_description.action_report_delivery_description +#: model:ir.actions.report,name:stock_picking_report_custom_description.action_report_delivery_description msgid "Delivery Slip (Description)" msgstr "Vale de entrega (descripción)" #. module: stock_picking_report_custom_description -#: model:ir.model,name:stock_picking_report_custom_description.model_stock_pack_operation -msgid "Packing Operation" -msgstr "Operación de empaquetado" - -#. module: stock_picking_report_custom_description -#: model:ir.actions.report.xml,name:stock_picking_report_custom_description.action_report_picking_description +#: model:ir.actions.report,name:stock_picking_report_custom_description.action_report_picking_description msgid "Picking Operations (Description)" msgstr "Operaciones de picking (descripción)" -#. module: stock_picking_report_custom_description -#: model:ir.model.fields,field_description:stock_picking_report_custom_description.field_stock_pack_operation_several_product_description -msgid "Several product description" -msgstr "Varias descripciones de producto" +#~ msgid "Description" +#~ msgstr "Descripción" + +#~ msgid "Qty" +#~ msgstr "Ctd." + +#~ msgid "Packing Operation" +#~ msgstr "Operación de empaquetado" + +#~ msgid "Several product description" +#~ msgstr "Varias descripciones de producto" diff --git a/stock_picking_report_custom_description/i18n/stock_picking_report_custom_description.pot b/stock_picking_report_custom_description/i18n/stock_picking_report_custom_description.pot new file mode 100644 index 0000000..8d50cae --- /dev/null +++ b/stock_picking_report_custom_description/i18n/stock_picking_report_custom_description.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_report_custom_description +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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: stock_picking_report_custom_description +#: model:ir.actions.report,name:stock_picking_report_custom_description.action_report_delivery_description +msgid "Delivery Slip (Description)" +msgstr "" + +#. module: stock_picking_report_custom_description +#: model:ir.actions.report,name:stock_picking_report_custom_description.action_report_picking_description +msgid "Picking Operations (Description)" +msgstr "" + diff --git a/stock_picking_report_custom_description/models/__init__.py b/stock_picking_report_custom_description/models/__init__.py deleted file mode 100644 index 654afee..0000000 --- a/stock_picking_report_custom_description/models/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ - -from . import stock diff --git a/stock_picking_report_custom_description/models/stock.py b/stock_picking_report_custom_description/models/stock.py deleted file mode 100644 index 9ce88a5..0000000 --- a/stock_picking_report_custom_description/models/stock.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2017 Carlos Dauden -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import api, fields, models - - -class StockMoveLine(models.Model): - _inherit = 'stock.move.line' - - several_product_description = fields.Boolean( - compute='_compute_several_product_description', - ) - - @api.multi - def _compute_several_product_description(self): - for operation in self: - names = operation.mapped('move_id.name') - operation.several_product_description = ( - not all(x == names[0] for x in names)) diff --git a/stock_picking_report_custom_description/readme/CONTRIBUTORS.rst b/stock_picking_report_custom_description/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..b919cb7 --- /dev/null +++ b/stock_picking_report_custom_description/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Carlos Dauden +* Sergio Teruel diff --git a/stock_picking_report_custom_description/readme/DESCRIPTION.rst b/stock_picking_report_custom_description/readme/DESCRIPTION.rst new file mode 100644 index 0000000..ef441a5 --- /dev/null +++ b/stock_picking_report_custom_description/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module allows to print moves description in picking reports. diff --git a/stock_picking_report_custom_description/readme/USAGE.rst b/stock_picking_report_custom_description/readme/USAGE.rst new file mode 100644 index 0000000..ab62328 --- /dev/null +++ b/stock_picking_report_custom_description/readme/USAGE.rst @@ -0,0 +1,5 @@ +To use this module, you need to: + +#. Create a sale order and set manual description in sale order lines. +#. Go to *Inventory > Deliveries* and you can print the reports with move name + instead product name. diff --git a/stock_picking_report_custom_description/static/description/index.html b/stock_picking_report_custom_description/static/description/index.html new file mode 100644 index 0000000..cf48e2e --- /dev/null +++ b/stock_picking_report_custom_description/static/description/index.html @@ -0,0 +1,430 @@ + + + + + + +Stock Picking Report Custom Description + + + +
+

Stock Picking Report Custom Description

+ + +

Beta License: AGPL-3 OCA/stock-logistics-reporting Translate me on Weblate Try me on Runbot

+

This module allows to print moves description in picking reports.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Create a sale order and set manual description in sale order lines.
  2. +
  3. Go to Inventory > Deliveries and you can print the reports with move name +instead product name.
  4. +
+
+
+

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

+
    +
  • 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/stock-logistics-reporting project on GitHub.

+

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

+
+
+
+ + diff --git a/stock_picking_report_custom_description/views/report_deliveryslip.xml b/stock_picking_report_custom_description/views/report_deliveryslip.xml index 8ae7cd0..1712eca 100644 --- a/stock_picking_report_custom_description/views/report_deliveryslip.xml +++ b/stock_picking_report_custom_description/views/report_deliveryslip.xml @@ -2,12 +2,12 @@