From 4bca2ca8eaaefe50bf6f17fcf8e12817af509295 Mon Sep 17 00:00:00 2001 From: Ruchir Shukla Date: Sun, 25 Nov 2018 10:20:09 +0530 Subject: [PATCH] [MIG]stock_picking_show_return: migration from 11 to v12 --- stock_picking_show_return/README.rst | 67 ++- stock_picking_show_return/__manifest__.py | 4 +- stock_picking_show_return/i18n/de.po | 2 +- stock_picking_show_return/i18n/es.po | 2 +- stock_picking_show_return/i18n/fr.po | 2 +- stock_picking_show_return/i18n/it.po | 2 +- stock_picking_show_return/i18n/nl_NL.po | 2 +- stock_picking_show_return/i18n/pt.po | 2 +- stock_picking_show_return/i18n/pt_BR.po | 2 +- stock_picking_show_return/i18n/sl.po | 2 +- .../i18n/stock_picking_show_return.pot | 2 +- .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 2 + stock_picking_show_return/readme/USAGE.rst | 6 + .../static/description/index.html | 431 ++++++++++++++++++ .../tests/test_stock_picking_show_return.py | 1 - 16 files changed, 504 insertions(+), 28 deletions(-) create mode 100644 stock_picking_show_return/readme/CONTRIBUTORS.rst create mode 100644 stock_picking_show_return/readme/DESCRIPTION.rst create mode 100644 stock_picking_show_return/readme/USAGE.rst create mode 100644 stock_picking_show_return/static/description/index.html diff --git a/stock_picking_show_return/README.rst b/stock_picking_show_return/README.rst index 9c7a061976c..6ce5e84fc84 100644 --- a/stock_picking_show_return/README.rst +++ b/stock_picking_show_return/README.rst @@ -1,14 +1,38 @@ -.. 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 +============================== +Show returns on stock pickings +============================== -================================= -Display returns on stock pickings -================================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-workflow/tree/12.0-mig-stock_picking_show_return/stock_picking_show_return + :alt: OCA/stock-logistics-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0-mig-stock_picking_show_return/stock-logistics-workflow-12-0-mig-stock_picking_show_return-stock_picking_show_return + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/154/12.0-mig-stock_picking_show_return + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds one tab in the pickings form view to display the returns pickings related to the current one. +**Table of contents** + +.. contents:: + :local: + Usage ===== @@ -22,30 +46,41 @@ Usage 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 ======= +Authors +~~~~~~~ + +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Pedro M. Baeza +* Shruti Singh +* Ruchir Shukla + +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/stock-logistics-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_show_return/__manifest__.py b/stock_picking_show_return/__manifest__.py index e0cb96aead4..352abe899f8 100644 --- a/stock_picking_show_return/__manifest__.py +++ b/stock_picking_show_return/__manifest__.py @@ -3,11 +3,11 @@ { "name": "Show returns on stock pickings", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "author": "Tecnativa, " "Odoo Community Association (OCA)", "category": "Warehouse Management", - "website": "https://www.tecnativa.com", + "website": "https://github.com/OCA/stock-logistics-workflow", "license": "AGPL-3", "depends": [ "stock", diff --git a/stock_picking_show_return/i18n/de.po b/stock_picking_show_return/i18n/de.po index dec5c68885a..acbe0734429 100644 --- a/stock_picking_show_return/i18n/de.po +++ b/stock_picking_show_return/i18n/de.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/es.po b/stock_picking_show_return/i18n/es.po index d60c96d0b53..a7d49d803e9 100644 --- a/stock_picking_show_return/i18n/es.po +++ b/stock_picking_show_return/i18n/es.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/fr.po b/stock_picking_show_return/i18n/fr.po index 3c36db75071..1bc0a8dbe4b 100644 --- a/stock_picking_show_return/i18n/fr.po +++ b/stock_picking_show_return/i18n/fr.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/it.po b/stock_picking_show_return/i18n/it.po index 6fbc39f9981..bbaaf7e335c 100644 --- a/stock_picking_show_return/i18n/it.po +++ b/stock_picking_show_return/i18n/it.po @@ -6,7 +6,7 @@ # Paolo Valier , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/nl_NL.po b/stock_picking_show_return/i18n/nl_NL.po index b5011c196d1..a7ee963d57c 100644 --- a/stock_picking_show_return/i18n/nl_NL.po +++ b/stock_picking_show_return/i18n/nl_NL.po @@ -6,7 +6,7 @@ # Peter Hageman , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-03 03:56+0000\n" "PO-Revision-Date: 2017-12-03 03:56+0000\n" diff --git a/stock_picking_show_return/i18n/pt.po b/stock_picking_show_return/i18n/pt.po index 17a56925ee6..f547c48a15d 100644 --- a/stock_picking_show_return/i18n/pt.po +++ b/stock_picking_show_return/i18n/pt.po @@ -6,7 +6,7 @@ # Pedro Castro Silva , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-18 03:48+0000\n" "PO-Revision-Date: 2017-12-18 03:48+0000\n" diff --git a/stock_picking_show_return/i18n/pt_BR.po b/stock_picking_show_return/i18n/pt_BR.po index e1dc98dc71d..287adee5947 100644 --- a/stock_picking_show_return/i18n/pt_BR.po +++ b/stock_picking_show_return/i18n/pt_BR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/sl.po b/stock_picking_show_return/i18n/sl.po index 9d56e18cdaf..c7ce6b5ccc3 100644 --- a/stock_picking_show_return/i18n/sl.po +++ b/stock_picking_show_return/i18n/sl.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-23 11:56+0000\n" "PO-Revision-Date: 2017-01-23 11:56+0000\n" diff --git a/stock_picking_show_return/i18n/stock_picking_show_return.pot b/stock_picking_show_return/i18n/stock_picking_show_return.pot index 821d59262e6..2c903a7f012 100644 --- a/stock_picking_show_return/i18n/stock_picking_show_return.pot +++ b/stock_picking_show_return/i18n/stock_picking_show_return.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/stock_picking_show_return/readme/CONTRIBUTORS.rst b/stock_picking_show_return/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..26c9590a48c --- /dev/null +++ b/stock_picking_show_return/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Pedro M. Baeza +* Shruti Singh +* Ruchir Shukla diff --git a/stock_picking_show_return/readme/DESCRIPTION.rst b/stock_picking_show_return/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..9500a4c0f53 --- /dev/null +++ b/stock_picking_show_return/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module adds one tab in the pickings form view to display the returns +pickings related to the current one. diff --git a/stock_picking_show_return/readme/USAGE.rst b/stock_picking_show_return/readme/USAGE.rst new file mode 100644 index 00000000000..715da07f582 --- /dev/null +++ b/stock_picking_show_return/readme/USAGE.rst @@ -0,0 +1,6 @@ +#. Go to any picking that has a return +#. See the new tab "Returns" appears. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/154/11.0 diff --git a/stock_picking_show_return/static/description/index.html b/stock_picking_show_return/static/description/index.html new file mode 100644 index 00000000000..e06e71f8f98 --- /dev/null +++ b/stock_picking_show_return/static/description/index.html @@ -0,0 +1,431 @@ + + + + + + +Show returns on stock pickings + + + +
+

Show returns on stock pickings

+ + +

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

+

This module adds one tab in the pickings form view to display the returns +pickings related to the current one.

+

Table of contents

+ +
+

Usage

+
    +
  1. Go to any picking that has a return
  2. +
  3. See the new tab “Returns” appears.
  4. +
+Try me on Runbot +
+
+

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-workflow project on GitHub.

+

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

+
+
+
+ + diff --git a/stock_picking_show_return/tests/test_stock_picking_show_return.py b/stock_picking_show_return/tests/test_stock_picking_show_return.py index 760b61ad9b2..674cc35d00b 100644 --- a/stock_picking_show_return/tests/test_stock_picking_show_return.py +++ b/stock_picking_show_return/tests/test_stock_picking_show_return.py @@ -27,7 +27,6 @@ def setUp(self): def test_returned_ids_field(self): self.picking.action_assign() - self.picking.force_assign() self.picking.move_line_ids.qty_done = 1 self.picking.action_done() wizard = self.env['stock.return.picking'].with_context(