Skip to content

Commit

Permalink
Merge PR #930 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by sebalix
  • Loading branch information
OCA-git-bot committed Dec 20, 2021
2 parents ba493e8 + f34c56a commit 15c99f7
Show file tree
Hide file tree
Showing 18 changed files with 1,120 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_move_change_source_location/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
87 changes: 87 additions & 0 deletions stock_move_change_source_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
=================================
Stock Move Change Source Location
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/13.0/stock_move_change_source_location
: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-13-0/stock-logistics-workflow-13-0-stock_move_change_source_location
: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/13.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to change the source location of stock moves from the picking

**Table of contents**

.. contents::
:local:

Usage
=====

To change the source location of one or several stock moves of a picking, go to
a specific picking and click ont the button Change Source Location.
You will have three options:

* Change All moves (the source location of all stock moves will be changed)
* Change only moves with matched OLD location (you need to provide a source location and only those moves
with the same source location will be updated)
* Select moves to change (you will need to select the moves to update)

Once the option has been selected, choose the new source location and click Apply.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/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 <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_move_change_source_location%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* ForgeFlow S.L.

Contributors
~~~~~~~~~~~~

* Adria Gil Sorribes <adria.gil@forgeflow.com>

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 <https://github.com/OCA/stock-logistics-workflow/tree/13.0/stock_move_change_source_location>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_move_change_source_location/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
20 changes: 20 additions & 0 deletions stock_move_change_source_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Move Change Source Location",
"summary": """
This module allows you to change the source location of a stock move from the
picking
""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "ForgeFlow S.L.,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"depends": ["stock"],
"data": [
"security/ir.model.access.csv",
"wizards/stock_move_change_source_location_wizard.xml",
"views/stock_picking_view.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_move_change_source_location
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.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_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid "Apply"
msgstr ""

#. module: stock_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid "Cancel"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields.selection,name:stock_move_change_source_location.selection__stock_move_change_source_location_wizard__moves_to_change__all
msgid "Change All moves"
msgstr ""

#. module: stock_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.view_picking_form
msgid "Change Source Location"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.actions.act_window,name:stock_move_change_source_location.action_stock_move_change_source_location
msgid "Change Stock Move Source Location"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields.selection,name:stock_move_change_source_location.selection__stock_move_change_source_location_wizard__moves_to_change__matched
msgid "Change only moves with matched OLD location"
msgstr ""

#. module: stock_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid ""
"Change the source location.\n"
" <br/>"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__create_date
msgid "Created on"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__display_name
msgid "Display Name"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__id
msgid "ID"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__move_lines
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid "Move lines"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__new_location_id
msgid "New location"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__old_location_id
msgid "Old location"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__moves_to_change
msgid "Operations to change"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields.selection,name:stock_move_change_source_location.selection__stock_move_change_source_location_wizard__moves_to_change__manual
msgid "Select moves to change"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,help:stock_move_change_source_location.field_stock_move_change_source_location_wizard__moves_to_change
msgid "Select which kind of selection of the moves you want to do"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model,name:stock_move_change_source_location.model_stock_move_change_source_location_wizard
msgid "Stock Move Change Source Location Wizard"
msgstr ""

#. module: stock_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid "Stock Picking"
msgstr ""

#. module: stock_move_change_source_location
#: model:ir.model.fields,field_description:stock_move_change_source_location.field_stock_move_change_source_location_wizard__warehouse_view_location_id
msgid "Warehouse View Location"
msgstr ""

#. module: stock_move_change_source_location
#: code:addons/stock_move_change_source_location/wizards/stock_move_change_source_location_wizard.py:0
#, python-format
msgid "You can not change move source location if picking state is not in %s"
msgstr ""

#. module: stock_move_change_source_location
#: code:addons/stock_move_change_source_location/wizards/stock_move_change_source_location_wizard.py:0
#, python-format
msgid "You can not change move source location if the move state is not in %s"
msgstr ""

#. module: stock_move_change_source_location
#: code:addons/stock_move_change_source_location/wizards/stock_move_change_source_location_wizard.py:0
#, python-format
msgid ""
"You cannot change source location if any of the moves has an origin move."
msgstr ""

#. module: stock_move_change_source_location
#: model_terms:ir.ui.view,arch_db:stock_move_change_source_location.stock_move_change_source_location_view
msgid "or"
msgstr ""
1 change: 1 addition & 0 deletions stock_move_change_source_location/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Adria Gil Sorribes <adria.gil@forgeflow.com>
1 change: 1 addition & 0 deletions stock_move_change_source_location/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows you to change the source location of stock moves from the picking
10 changes: 10 additions & 0 deletions stock_move_change_source_location/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
To change the source location of one or several stock moves of a picking, go to
a specific picking and click ont the button Change Source Location.
You will have three options:

* Change All moves (the source location of all stock moves will be changed)
* Change only moves with matched OLD location (you need to provide a source location and only those moves
with the same source location will be updated)
* Select moves to change (you will need to select the moves to update)

Once the option has been selected, choose the new source location and click Apply.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_stock_move_change_source_location_wizard,access_stock_move_change_source_location_wizard,model_stock_move_change_source_location_wizard,stock.group_stock_user,1,1,1,0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 15c99f7

Please sign in to comment.