Skip to content

Commit

Permalink
[4028][IMP] stock_move_location: improve planned transfer (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
rinaldifirdaus authored Dec 14, 2023
1 parent 69a702c commit f33869f
Show file tree
Hide file tree
Showing 24 changed files with 1,246 additions and 290 deletions.
129 changes: 78 additions & 51 deletions stock_move_location/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Move Stock Location
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:87949c0c9182db96bf0d8e687697a678c119a5949d366f137d03a681d2fd44cd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -19,11 +22,11 @@ Move Stock Location
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_move_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/153/16.0
:alt: Try me on Runbot
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-warehouse&target_branch=16.0
:alt: Try me on Runboat

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

This module allows to move entire location of products from one place to
another and move only selected quantities.
Expand All @@ -36,55 +39,74 @@ another and move only selected quantities.
Usage
=====

* A new menu item Operations > Move from location... opens a wizard
where 2 locations can be specified.
* Select origin and destination locations and press "IMMEDIATE TRANSFER" or "PLANNED TRANSFER"
* Press `ADD ALL` button to add all products available
* Those lines can be edited. Move quantity can't be more than a max available quantity
* Move doesn't care about the reservations and will move stuff anyway
* If during your operation with the wizard the real quantity will change
it will move only the available quantity at the button press
* Products will be moved and a form view of picking that did that will show up
* If "PLANNED TRANSFER" is used - the picking won't be validated automatically
- A new menu item Operations > Move from location... opens a wizard
where 2 locations can be specified.
- Select origin and destination locations and press "IMMEDIATE
TRANSFER" or "PLANNED TRANSFER"
- Press ADD ALL button to add all products available
- Those lines can be edited. Move quantity can't be more than a max
available quantity
- Move doesn't care about the reservations and will move stuff anyway
- If during your operation with the wizard the real quantity will
change it will move only the available quantity at the button press
- Products will be moved and a form view of picking that did that will
show up
- If "PLANNED TRANSFER" is used - the picking won't be validated
automatically

If you want to transfer a full quant:

* Go to `Inventory > Products > Products` and click "On hand" smart button
or `Inventory > Reporting > Inventory`, the quants view will be
- Go to Inventory > Products > Products and click "On hand" smart
button or Inventory > Reporting > Inventory, the quants view will be
opened.
- Select the quantities which you want move to another location

If you go to the Inventory Dashboard you can see the button "Move from
location" in each of the picking types (only applicable to internal
transfers). Press it and you will be directed to the wizard.

* Select the quantities which you want move to another location
|image1|

If you go to the Inventory Dashboard you can see the button "Move from location"
in each of the picking types (only applicable to internal transfers). Press it
and you will be directed to the wizard.
To enable this option, check "Show Move On Hand Stock" in the Picking
Type configuration.

|image2|

If you want transfer everything from stock.location

On a draft picking, add a button to fill with moves lines for all products in
the source destination. This allows to create a picking to move all the content
of a location. If some quants are not available (i.e. reserved) the picking
will be in partially available state and reserved moves won't be listed in the
operations.
Use barcode interface to scan a location and create an empty picking. Then use
the fill with stock button.
On a draft picking, add a button to fill with moves lines for all
products in the source destination. This allows to create a picking to
move all the content of a location. The Origin Location must have stock.
The Destination Location has to be a final location. If some quants are
not available (i.e. reserved) the picking will be in partially available
state and reserved moves won't be listed in the operations. Use barcode
interface to scan a location and create an empty picking. Then use the
fill with stock button.

.. |image1| image:: https://user-images.githubusercontent.com/147538094/281480833-208ea309-0bad-43e7-bd6f-8384520afe00.png
.. |image2| image:: https://user-images.githubusercontent.com/147538094/281479487-45fa4bde-36be-4ba1-8d54-8e707b89459e.png

Known issues / Roadmap
======================

Change the current implementation (suggested by Denis Roussel from ACSONE):
Change the current implementation (suggested by Denis Roussel from
ACSONE):

* A new parameter on stock picking types : 'Product Change Location' (with a little help).
* With this, go to the dashboard, create a picking with that type.
* Add a button on the picking form which is visible with that type that fill in the picking as now
* Nice to have: add a magic button on locations that with context creates a new picking of that type with the origin location already filled in.
- A new parameter on stock picking types : 'Product Change Location'
(with a little help).
- With this, go to the dashboard, create a picking with that type.
- Add a button on the picking form which is visible with that type that
fill in the picking as now
- Nice to have: add a magic button on locations that with context
creates a new picking of that type with the origin location already
filled in.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/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
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_move_location%0Aversion:%2016.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.
Expand All @@ -93,31 +115,36 @@ Credits
=======

Authors
~~~~~~~
-------

* Julius Network Solutions
* BCIM
* Camptocamp

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

* Mathieu Vatel <mathieu@julius.fr>
* Mykhailo Panarin <m.panarin@mobilunity.com>
* Joan Sisquella <joan.sisquella@forgeflow.com>
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
* Héctor Villarreal <hector.villarreal@forgeflow.com>
* Tecnativa <tecnativa.com>

* Sergio Teruel
* João Marques
* Jacques-Etienne Baudoux <je@bcim.be>
* Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
* Alexei Rivera <arivera@archeti.com>
------------

- Mathieu Vatel <mathieu@julius.fr>
- Mykhailo Panarin <m.panarin@mobilunity.com>
- Joan Sisquella <joan.sisquella@forgeflow.com>
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- Lois Rilo <lois.rilo@forgeflow.com>
- Héctor Villarreal <hector.villarreal@forgeflow.com>
- Tecnativa <tecnativa.com>

- Sergio Teruel
- João Marques

- Jacques-Etienne Baudoux <je@bcim.be>
- Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
- Alexei Rivera <arivera@archeti.com>
- Abraham Anes <abraham@studio73.es>
- Quartile <https://www.quartile.co>

- Aung Ko Ko Lin

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand Down
2 changes: 1 addition & 1 deletion stock_move_location/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Move Stock Location",
"version": "16.0.1.1.0",
"version": "16.0.1.2.1",
"author": "Julius Network Solutions, "
"BCIM,"
"Camptocamp,"
Expand Down
47 changes: 40 additions & 7 deletions stock_move_location/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location__apply_putaway_strategy
msgid "Apply putaway strategy"
msgid "Apply Putaway Strategy"
msgstr ""

#. module: stock_move_location
Expand Down Expand Up @@ -78,6 +78,16 @@ msgstr "Anzeigename"
msgid "Edit Locations"
msgstr "Quelllagerort"

#. module: stock_move_location
#: model_terms:ir.ui.view,arch_db:stock_move_location.view_picking_form
msgid "Fill with stock"
msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__owner_id
msgid "From Owner"
msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location__id
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__id
Expand All @@ -89,11 +99,6 @@ msgstr "ID"
msgid "Immediate Transfer"
msgstr "Sofortige Lieferung"

#. module: stock_move_location
#: model_terms:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Inventory Details"
msgstr "Bestand Details"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location____last_update
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line____last_update
Expand Down Expand Up @@ -144,6 +149,7 @@ msgid "Move location Wizard"
msgstr "Umlagerungsassistent"

#. module: stock_move_location
#. odoo-python
#: code:addons/stock_move_location/wizard/stock_move_location_line.py:0
#, python-format
msgid "Move quantity can not exceed max quantity or be negative"
Expand All @@ -154,6 +160,13 @@ msgstr "Die Menge darf nicht die Bestandsmenge überschreiten oder negativ sein"
msgid "Move to location..."
msgstr "Zu Lagerort bewegen..."

#. module: stock_move_location
#. odoo-python
#: code:addons/stock_move_location/models/stock_picking.py:0
#, python-format
msgid "Moves lines already exists"
msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location__origin_location_id
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__origin_location_id
Expand All @@ -166,6 +179,11 @@ msgstr "Quelllagerort"
msgid "Origin Location Disable"
msgstr "Quelllagerort"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__package_id
msgid "Package Number"
msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_stock_move__location_move
msgid "Part of move location"
Expand All @@ -182,6 +200,13 @@ msgstr ""
msgid "Planned Transfer"
msgstr "Geplante Bewegung"

#. module: stock_move_location
#. odoo-python
#: code:addons/stock_move_location/models/stock_picking.py:0
#, python-format
msgid "Please choose a source end location"
msgstr ""

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__product_id
msgid "Product"
Expand All @@ -199,7 +224,7 @@ msgstr "Anzahl"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line__reserved_quantity
msgid "Reserved quantity"
msgid "Reserved Quantity"
msgstr ""

#. module: stock_move_location
Expand All @@ -219,6 +244,11 @@ msgstr ""
msgid "Stock Move"
msgstr "Lagerbewegung"

#. module: stock_move_location
#: model:ir.model,name:stock_move_location.model_stock_picking
msgid "Transfer"
msgstr ""

#. module: stock_move_location
#: model_terms:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "UoM"
Expand Down Expand Up @@ -251,6 +281,9 @@ msgstr ""
msgid "technical field to disable the edition of origin location."
msgstr ""

#~ msgid "Inventory Details"
#~ msgstr "Bestand Details"

#~ msgid "Add all"
#~ msgstr "Alle hinzufügen"

Expand Down
Loading

0 comments on commit f33869f

Please sign in to comment.