diff --git a/setup/stock_picking_operation_quick_change/odoo/addons/stock_picking_operation_quick_change b/setup/stock_picking_operation_quick_change/odoo/addons/stock_picking_operation_quick_change new file mode 120000 index 00000000000..81dba846237 --- /dev/null +++ b/setup/stock_picking_operation_quick_change/odoo/addons/stock_picking_operation_quick_change @@ -0,0 +1 @@ +../../../../stock_picking_operation_quick_change \ No newline at end of file diff --git a/setup/stock_picking_operation_quick_change/setup.py b/setup/stock_picking_operation_quick_change/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/stock_picking_operation_quick_change/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_picking_operation_quick_change/README.rst b/stock_picking_operation_quick_change/README.rst new file mode 100644 index 00000000000..c735beef2ff --- /dev/null +++ b/stock_picking_operation_quick_change/README.rst @@ -0,0 +1,92 @@ +==================================== +Stock Picking Operation Quick Change +==================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/15.0/stock_picking_operation_quick_change + :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-15-0/stock-logistics-workflow-15-0-stock_picking_operation_quick_change + :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/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends standard WMS to allow change destination location for all +picking operations. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to products and create one of type "Stockable". +#. Update quantities on hand to have stock of it. +#. Go to inventory dashboard and click on "Delivery Orders" card to create a new + transfer. +#. Create a picking and select the product to do the transfer and save it. +#. Click on button *Change Location*, select in wizard the old location or product and + new location. + +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 +~~~~~~~~~~~~ + +* `Tecnativa `_: + + * Sergio Teruel + * Carlos Roca + +* Lois Rilo + +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/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_operation_quick_change/__init__.py b/stock_picking_operation_quick_change/__init__.py new file mode 100644 index 00000000000..fbadf7a68ce --- /dev/null +++ b/stock_picking_operation_quick_change/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import wizards diff --git a/stock_picking_operation_quick_change/__manifest__.py b/stock_picking_operation_quick_change/__manifest__.py new file mode 100644 index 00000000000..196f7d4bf27 --- /dev/null +++ b/stock_picking_operation_quick_change/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2017-2022 Tecnativa - Sergio Teruel +# License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +{ + "name": "Stock Picking Operation Quick Change", + "summary": "Change location of all picking operations", + "version": "16.0.1.0.0", + "category": "Warehouse", + "website": "https://github.com/OCA/stock-logistics-workflow", + "author": "Tecnativa, " "Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": ["stock"], + "data": [ + "security/ir.model.access.csv", + "wizards/stock_picking_wizard_view.xml", + "views/stock_picking_view.xml", + ], +} diff --git a/stock_picking_operation_quick_change/i18n/de.po b/stock_picking_operation_quick_change/i18n/de.po new file mode 100644 index 00000000000..86320b19a58 --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/de.po @@ -0,0 +1,163 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +# Translators: +# OCA Transbot , 2017 +# Rudolf Schnapka , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-19 03:55+0000\n" +"PO-Revision-Date: 2017-12-19 03:55+0000\n" +"Last-Translator: Rudolf Schnapka , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\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" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "Tatsächlicher Ziellagerort" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Anwenden" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Stornieren" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "Alle ändern" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "Lagerort ändern" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "Vorgangs-Ziellagerort ändern" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +#, fuzzy +msgid "" +"Change the destination location.\n" +"
" +msgstr "" +"Sie können den Ziellagerort in allen Vorgängen ändern.\n" +"
" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" +"Prüfen Sie, ob Sie alle Vorgänge ohne eingrenzung nach altem Lagerort ändern " +"möchten" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Angelegt durch" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Angelegt am" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Angezeigter Name" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Zuletzt geändert am" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert durch" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "Neuer Ziellagerort" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "Alter Ziellagerort" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "Lagerentnahme" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +#, fuzzy +msgid "Stock Picking Operation Wizard" +msgstr "stock.picking.operation.wizard" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, fuzzy, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" +"Sie dürfen den Vorgangs-Ziellagerort, wenn der Status der Umlagerung nicht " +"%s ist." + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, fuzzy, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" +"Sie dürfen den Vorgangs-Ziellagerort, wenn der Status der Umlagerung nicht " +"%s ist." + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "oder" diff --git a/stock_picking_operation_quick_change/i18n/es.po b/stock_picking_operation_quick_change/i18n/es.po new file mode 100644 index 00000000000..a614397963d --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/es.po @@ -0,0 +1,161 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-04 01:08+0000\n" +"PO-Revision-Date: 2017-04-04 01:08+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\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" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "Ubicación actual de destino del albarán" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Aplicar" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "Cambiar todas" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "Cambiar ubicación" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "Cambia la ubicación de destino de las operaciones" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +#, fuzzy +msgid "" +"Change the destination location.\n" +"
" +msgstr "" +"Puedes cambiar la ubicación de destino de todas las operaciones del " +"albarán.\n" +"
" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "Marca esta opción si quieres cambiar todas operaciones" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Creado en" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID (identificación)" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Última modificación en" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Última actualización de" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "Nueva ubicación de destino" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "Anterior ubicación de destino" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "Albarán" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +#, fuzzy +msgid "Stock Picking Operation Wizard" +msgstr "Albarán" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, fuzzy, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" +"No puedes cambiar la ubicación de destino de operaciones que su estado no " +"sea %s" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, fuzzy, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" +"No puedes cambiar la ubicación de destino de operaciones que su estado no " +"sea %s" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "o" diff --git a/stock_picking_operation_quick_change/i18n/fr.po b/stock_picking_operation_quick_change/i18n/fr.po new file mode 100644 index 00000000000..f13dd3fec16 --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/fr.po @@ -0,0 +1,152 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-04 01:08+0000\n" +"PO-Revision-Date: 2017-04-04 01:08+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\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" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Appliquer" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Annuler" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "" +"Change the destination location.\n" +"
" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Created by" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Created on" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +msgid "Stock Picking Operation Wizard" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "ou" diff --git a/stock_picking_operation_quick_change/i18n/it.po b/stock_picking_operation_quick_change/i18n/it.po new file mode 100644 index 00000000000..b1ffe5fffcd --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/it.po @@ -0,0 +1,153 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +# Translators: +# Paolo Valier , 2017 +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-04 01:08+0000\n" +"PO-Revision-Date: 2017-04-04 01:08+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\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" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Applica" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Annulla" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "" +"Change the destination location.\n" +"
" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Nome da visualizzare" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Ultima Modifica il" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +msgid "Stock Picking Operation Wizard" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "o" diff --git a/stock_picking_operation_quick_change/i18n/pt_BR.po b/stock_picking_operation_quick_change/i18n/pt_BR.po new file mode 100644 index 00000000000..7142efa35f0 --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/pt_BR.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-06-23 16:19+0000\n" +"Last-Translator: Fernando Colus \n" +"Language-Team: none\n" +"Language: pt_BR\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: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "Localização de destino atual" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Aplicar" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "Mudar Tudo" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "Alterar Localização" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "Alterar Localização de Destino da Operação" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "" +"Change the destination location.\n" +"
" +msgstr "" +"Mude a localização de destino.\n" +"
" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" +"Verifique se deseja alterar todas as operações sem filtrar pela antiga " +"localização" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Criado em" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Exibir Nome" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID (Identificação)" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Última Modificação Feita em" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Última Atualização Feita por" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Última Atualização Feita em" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "Nova Localização de Destino" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "Antiga Localização de Destino" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "Coleta de Estoque" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +msgid "Stock Picking Operation Wizard" +msgstr "Assistente de Operação de Coleta de Estoque" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" +"Você não pode alterar o local de destino das operações se o estado de " +"picking não estiver em %s" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" +"Você não pode alterar a localização de destino se alguma das movimentações " +"tiver uma movimentação de destino." + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "ou" diff --git a/stock_picking_operation_quick_change/i18n/sl.po b/stock_picking_operation_quick_change/i18n/sl.po new file mode 100644 index 00000000000..7fd43a06831 --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/sl.po @@ -0,0 +1,154 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-04 01:08+0000\n" +"PO-Revision-Date: 2020-08-08 16:59+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 3.10\n" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "Uveljavi" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "Preklic" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "" +"Change the destination location.\n" +"
" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "Ustvaril" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "Prikazni naziv" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "ID" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "Zadnjič spremenjeno" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "Zadnji posodobil" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +msgid "Stock Picking Operation Wizard" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination " +"move." +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "ali" diff --git a/stock_picking_operation_quick_change/i18n/stock_picking_operation_quick_change.pot b/stock_picking_operation_quick_change/i18n/stock_picking_operation_quick_change.pot new file mode 100644 index 00000000000..831f9469ce7 --- /dev/null +++ b/stock_picking_operation_quick_change/i18n/stock_picking_operation_quick_change.pot @@ -0,0 +1,147 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_operation_quick_change +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.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_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__location_dest_id +msgid "Actual destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__allowed_product_ids +msgid "Allowed Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Apply" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Cancel" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Change All" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.view_picking_form +msgid "Change Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.actions.act_window,name:stock_picking_operation_quick_change.action_stock_picking_operation_change_location +msgid "Change Operation Destination Location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "" +"Change the destination location.\n" +"
" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,help:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__change_all +msgid "Check if you want change all operations without filter by old location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_uid +msgid "Created by" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__create_date +msgid "Created on" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__display_name +msgid "Display Name" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__id +msgid "ID" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard____last_update +msgid "Last Modified on" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__write_date +msgid "Last Updated on" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__new_location_dest_id +msgid "New destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__old_location_dest_id +msgid "Old destination location" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__picking_id +msgid "Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model.fields,field_description:stock_picking_operation_quick_change.field_stock_picking_operation_wizard__product_id +msgid "Product" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "Stock Picking" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model:ir.model,name:stock_picking_operation_quick_change.model_stock_picking_operation_wizard +msgid "Stock Picking Operation Wizard" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You can not change operations destination location if picking state is not " +"in %s" +msgstr "" + +#. module: stock_picking_operation_quick_change +#: code:addons/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py:0 +#, python-format +msgid "" +"You cannot change destination location if any of the moves has a destination" +" move." +msgstr "" + +#. module: stock_picking_operation_quick_change +#: model_terms:ir.ui.view,arch_db:stock_picking_operation_quick_change.stock_picking_operation_change_location_view +msgid "or" +msgstr "" diff --git a/stock_picking_operation_quick_change/readme/CONTRIBUTORS.rst b/stock_picking_operation_quick_change/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..c15bc17e73f --- /dev/null +++ b/stock_picking_operation_quick_change/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* `Tecnativa `_: + + * Sergio Teruel + * Carlos Roca + +* Lois Rilo diff --git a/stock_picking_operation_quick_change/readme/DESCRIPTION.rst b/stock_picking_operation_quick_change/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..8ee02537921 --- /dev/null +++ b/stock_picking_operation_quick_change/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module extends standard WMS to allow change destination location for all +picking operations. diff --git a/stock_picking_operation_quick_change/readme/USAGE.rst b/stock_picking_operation_quick_change/readme/USAGE.rst new file mode 100644 index 00000000000..3c3952c29e5 --- /dev/null +++ b/stock_picking_operation_quick_change/readme/USAGE.rst @@ -0,0 +1,9 @@ +To use this module, you need to: + +#. Go to products and create one of type "Stockable". +#. Update quantities on hand to have stock of it. +#. Go to inventory dashboard and click on "Delivery Orders" card to create a new + transfer. +#. Create a picking and select the product to do the transfer and save it. +#. Click on button *Change Location*, select in wizard the old location or product and + new location. diff --git a/stock_picking_operation_quick_change/security/ir.model.access.csv b/stock_picking_operation_quick_change/security/ir.model.access.csv new file mode 100644 index 00000000000..ad35af6997f --- /dev/null +++ b/stock_picking_operation_quick_change/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_picking_operation_wizard_user,access_stock_picking_operation_wizard_user,model_stock_picking_operation_wizard,base.group_user,1,1,1,1 diff --git a/stock_picking_operation_quick_change/static/description/icon.png b/stock_picking_operation_quick_change/static/description/icon.png new file mode 100644 index 00000000000..0f7543540df Binary files /dev/null and b/stock_picking_operation_quick_change/static/description/icon.png differ diff --git a/stock_picking_operation_quick_change/static/description/icon.svg b/stock_picking_operation_quick_change/static/description/icon.svg new file mode 100644 index 00000000000..89d7794c69a --- /dev/null +++ b/stock_picking_operation_quick_change/static/description/icon.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/stock_picking_operation_quick_change/static/description/index.html b/stock_picking_operation_quick_change/static/description/index.html new file mode 100644 index 00000000000..d82b534d0f2 --- /dev/null +++ b/stock_picking_operation_quick_change/static/description/index.html @@ -0,0 +1,439 @@ + + + + + + +Stock Picking Operation Quick Change + + + +
+

Stock Picking Operation Quick Change

+ + +

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

+

This module extends standard WMS to allow change destination location for all +picking operations.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to products and create one of type “Stockable”.
  2. +
  3. Update quantities on hand to have stock of it.
  4. +
  5. Go to inventory dashboard and click on “Delivery Orders” card to create a new +transfer.
  6. +
  7. Create a picking and select the product to do the transfer and save it.
  8. +
  9. Click on button Change Location, select in wizard the old location or product and +new location.
  10. +
+
+
+

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_operation_quick_change/tests/__init__.py b/stock_picking_operation_quick_change/tests/__init__.py new file mode 100644 index 00000000000..b0cc2973add --- /dev/null +++ b/stock_picking_operation_quick_change/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_stock_picking_operation_quick_change diff --git a/stock_picking_operation_quick_change/tests/test_stock_picking_operation_quick_change.py b/stock_picking_operation_quick_change/tests/test_stock_picking_operation_quick_change.py new file mode 100644 index 00000000000..19d730c5187 --- /dev/null +++ b/stock_picking_operation_quick_change/tests/test_stock_picking_operation_quick_change.py @@ -0,0 +1,153 @@ +# Copyright 2022 Tecnativa - Sergio Teruel +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.exceptions import UserError +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + + +@tagged("post_install", "-at_install") +class TestOperationQuickChange(TransactionCase): + def setUp(self): + super().setUp() + self.Location = self.env["stock.location"] + self.PickingType = self.env["stock.picking.type"] + self.Picking = self.env["stock.picking"] + self.Product = self.env["product.template"] + self.Wizard = self.env["stock.picking.operation.wizard"] + self.warehouse = self.env["stock.warehouse"].create( + {"name": "warehouse - test", "code": "WH-TEST"} + ) + + # self.warehouse.lot_stock_id.id + self.product = self.Product.create( + { + "name": "Product - Test", + "type": "product", + "list_price": 100.00, + "standard_price": 100.00, + } + ) + self.qty_on_hand(self.product.product_variant_ids) + self.product2 = self.Product.create( + { + "name": "Product2 - Test", + "type": "product", + "list_price": 100.00, + "standard_price": 100.00, + } + ) + self.qty_on_hand(self.product2.product_variant_ids) + self.customer = self.env["res.partner"].create({"name": "Customer - test"}) + self.picking_type = self.PickingType.search( + [("warehouse_id", "=", self.warehouse.id), ("code", "=", "outgoing")] + ) + self.picking = self.Picking.create( + { + "name": "picking - test 01", + "location_id": self.warehouse.lot_stock_id.id, + "location_dest_id": self.warehouse.wh_output_stock_loc_id.id, + "picking_type_id": self.picking_type.id, + "move_ids": [ + ( + 0, + 0, + { + "name": self.product.name, + "product_id": self.product.product_variant_ids.id, + "product_uom_qty": 20.0, + "product_uom": self.product.uom_id.id, + "location_id": self.warehouse.lot_stock_id.id, + "location_dest_id": self.warehouse.wh_output_stock_loc_id.id, + }, + ), + ( + 0, + 0, + { + "name": self.product.name, + "product_id": self.product2.product_variant_ids.id, + "product_uom_qty": 60.0, + "product_uom": self.product.uom_id.id, + "location_id": self.warehouse.lot_stock_id.id, + "location_dest_id": self.warehouse.wh_output_stock_loc_id.id, + }, + ), + ], + } + ) + + def qty_on_hand(self, product): + self.env["stock.quant"].with_context(inventory_mode=True).create( + { + "product_id": product.id, + "inventory_quantity": 200, + "location_id": self.warehouse.lot_stock_id.id, + } + )._apply_inventory() + + def test_picking_operation_change_location_dest_all(self): + self.picking.action_assign() + new_location_dest_id = self.Location.create( + { + "name": "New Test Customer Location", + "location_id": self.picking.location_dest_id.location_id.id, + } + ) + wiz = self.Wizard.with_context( + active_model=self.picking._name, + active_ids=self.picking.ids, + ).create({"new_location_dest_id": new_location_dest_id.id, "change_all": True}) + move_lines = self.picking.move_line_ids + self.assertEqual(wiz.location_dest_id, self.picking.location_dest_id) + self.assertEqual(wiz.old_location_dest_id, move_lines[:1].location_dest_id) + wiz.action_apply() + move_lines = self.picking.move_line_ids.location_dest_id + self.assertEqual(len(move_lines), 1) + + def test_picking_operation_change_location_dest(self): + new_location_dest_id = self.Location.create( + { + "name": "New Test Customer Location", + "location_id": self.picking.location_dest_id.location_id.id, + } + ) + other_location_dest_id = self.Location.create( + { + "name": "New Test Customer Location", + "location_id": self.picking.location_dest_id.location_id.id, + } + ) + self.picking.action_assign() + move_lines = self.picking.move_line_ids + move_lines[:1].write({"location_dest_id": other_location_dest_id.id}) + wiz = self.Wizard.with_context( + active_model=self.picking._name, + active_ids=self.picking.ids, + ).create( + { + "old_location_dest_id": self.picking.location_dest_id.id, + "new_location_dest_id": new_location_dest_id.id, + } + ) + wiz.action_apply() + move_lines = self.picking.move_line_ids.location_dest_id + self.assertEqual(len(move_lines), 2) + + def test_picking_operation_change_location_dest_failed(self): + self.picking.action_assign() + for move in self.picking.move_ids: + move.quantity_done = 1 + self.picking._action_done() + new_location_dest_id = self.Location.create( + { + "name": "New Test Customer Location", + "location_id": self.picking.location_dest_id.location_id.id, + } + ) + wiz = self.Wizard.with_context( + active_model=self.picking._name, + active_ids=self.picking.ids, + ).create({"new_location_dest_id": new_location_dest_id.id, "change_all": True}) + with self.assertRaises(UserError): + wiz.action_apply() diff --git a/stock_picking_operation_quick_change/views/stock_picking_view.xml b/stock_picking_operation_quick_change/views/stock_picking_view.xml new file mode 100644 index 00000000000..26b201f26fa --- /dev/null +++ b/stock_picking_operation_quick_change/views/stock_picking_view.xml @@ -0,0 +1,31 @@ + + + + + stock.picking + + + + + + + + + + + diff --git a/stock_picking_operation_quick_change/wizards/__init__.py b/stock_picking_operation_quick_change/wizards/__init__.py new file mode 100644 index 00000000000..a529ea516b2 --- /dev/null +++ b/stock_picking_operation_quick_change/wizards/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import stock_picking_wizard diff --git a/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py b/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py new file mode 100644 index 00000000000..859896ccec0 --- /dev/null +++ b/stock_picking_operation_quick_change/wizards/stock_picking_wizard.py @@ -0,0 +1,116 @@ +# Copyright 2017 Tecnativa - Sergio Teruel +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import _, api, fields, models +from odoo.exceptions import UserError + + +class StockPickingOperationWizard(models.TransientModel): + _name = "stock.picking.operation.wizard" + _description = "Stock Picking Operation Wizard" + + def _prepare_default_values(self, picking): + return { + "picking_id": picking.id, + "location_dest_id": picking.location_dest_id.id, + } + + @api.model + def default_get(self, fields): + res = super().default_get(fields) + active_model = self.env.context["active_model"] + active_ids = self.env.context["active_ids"] or [] + picking = self.env[active_model].browse(active_ids) + res.update(self._prepare_default_values(picking)) + return res + + def _default_old_dest_location_id(self): + stock_picking_obj = self.env["stock.picking"] + pickings = stock_picking_obj.browse(self.env.context["active_ids"]) + first_move_line = pickings.move_line_ids[:1] + return first_move_line.location_dest_id.id + + def _get_allowed_locations(self): + return ["internal"] + + def _get_allowed_location_domain(self): + return [("usage", "in", self._get_allowed_locations())] + + def _get_allowed_picking_states(self): + return ["assigned"] + + picking_id = fields.Many2one(comodel_name="stock.picking") + location_dest_id = fields.Many2one( + comodel_name="stock.location", + string="Actual destination location", + required=True, + readonly=True, + ) + old_location_dest_id = fields.Many2one( + comodel_name="stock.location", + string="Old destination location", + default=_default_old_dest_location_id, + domain=lambda self: self._get_allowed_location_domain(), + ) + new_location_dest_id = fields.Many2one( + comodel_name="stock.location", + string="New destination location", + required=True, + domain=lambda self: self._get_allowed_location_domain(), + ) + allowed_product_ids = fields.Many2many( + comodel_name="product.product", + compute="_compute_allowed_product_ids", + ) + product_id = fields.Many2one( + comodel_name="product.product", + domain="[('id', 'in', allowed_product_ids)]", + ) + change_all = fields.Boolean( + help="Check if you want change all operations without filter " + "by old location", + ) + + @api.depends("picking_id") + def _compute_allowed_product_ids(self): + for record in self: + record.allowed_product_ids = record.picking_id.move_ids.product_id + + def check_allowed_pickings(self, pickings): + forbidden_pickings = pickings.filtered( + lambda x: x.state not in self._get_allowed_picking_states() + ) + if forbidden_pickings: + raise UserError( + _( + "You can not change operations destination location if " + "picking state is not in %s" + ) + % ",".join(self._get_allowed_picking_states()) + ) + + def action_apply(self): + stock_picking_obj = self.env["stock.picking"] + pickings = stock_picking_obj.browse(self.env.context["active_ids"]) + self.check_allowed_pickings(pickings) + move_lines = pickings.move_line_ids + + vals = {"location_dest_id": self.new_location_dest_id.id} + if self.change_all: + # Write all operations destination location + move_lines.write(vals) + else: + matched_op = move_lines + # Only write operations destination location if the location is + # the same that old location value + if self.old_location_dest_id: + matched_op = matched_op.filtered( + lambda x: x.location_dest_id == self.old_location_dest_id + ) + # Only write operations destination location if the product is the same + if self.product_id: + matched_op = matched_op.filtered( + lambda x: x.product_id == self.product_id + ) + matched_op.write(vals) + return {"type": "ir.actions.act_window_close"} diff --git a/stock_picking_operation_quick_change/wizards/stock_picking_wizard_view.xml b/stock_picking_operation_quick_change/wizards/stock_picking_wizard_view.xml new file mode 100644 index 00000000000..7330a0581e9 --- /dev/null +++ b/stock_picking_operation_quick_change/wizards/stock_picking_wizard_view.xml @@ -0,0 +1,59 @@ + + + + + + Change Operation Destination Location + stock.picking.operation.wizard + +
+
+ Change the destination location. +
+
+ + + + + + + + + + + +
+
+
+
+
+ + Change Operation Destination Location + stock.picking.operation.wizard + form + new + +