Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
21933cf
[ADD] stock_move_location
mathieuvatel Mar 7, 2012
fc65e0f
[MIG] 11.0 stock_move_location
Dec 27, 2018
bb25d65
[IMP] refactor to use pickings instead of inventories
Jan 8, 2019
d770112
prevent user from creating lots from the wizard
Jan 16, 2019
7b8f643
[11.0][MIG] stock_move_location: fixing/improving code + add a roadmap
sebalix Jan 24, 2019
2cf9777
[FIX] stock_move_location: fix the 'group_lines()' method
sebalix Feb 7, 2019
0f9cda2
Added translation using Weblate (Spanish)
sergio-teruel Apr 16, 2019
2e7514f
[11.0][IMP] stock_move_location: Allow move products from one locatio…
sergio-teruel Apr 16, 2019
4c2fe80
Translated using Weblate (Spanish)
etobella Apr 25, 2019
6cbf37a
[11.0][FIX] stock_move_location: Not check availability when do immed…
sergio-teruel May 24, 2019
462f6a2
Added translation using Weblate (German)
wildi1 Oct 25, 2019
2bd6bf5
[MIG] stock_move_location to v12
Nov 6, 2019
29405c9
[12.0][IMP] stock_move_location: Applies put away strategy
Nov 7, 2019
eed6e13
[12.0][FIX][stock_move_location] Planned transfer: quantity done
Nov 7, 2019
a141746
This commit introduces changes to stock_move_location:
JordiBForgeFlow Nov 13, 2019
6e32e37
in planned transfers do not set the qty_done in move lines
JordiBForgeFlow Nov 13, 2019
0d1ba3b
[11.0] stock_move_location: add small margin between buttons,
LoisRForgeFlow Nov 19, 2019
fad8d39
display picking type in move location wizard, and get a default value
JordiBForgeFlow Nov 20, 2019
6455fd4
[11.0][IMP] stock_move_location:
LoisRForgeFlow Nov 20, 2019
1d831fa
[11.0][FIX] stock_move_location:
Dec 9, 2019
79fbb55
[IMP] stock_move_location: black, isort
JoanSForgeFlow Jan 10, 2020
d4c4e8b
[MIG] stock_move_location: Migration to 13.0
JoanSForgeFlow Jan 14, 2020
fedf14a
[FIX] stock_move_location: Keep product lines when user launch wizard…
sergio-teruel Jan 31, 2020
e793512
[IMP] stock_move_location: Allow to disable apply putaway strategy
sergio-teruel Feb 3, 2020
5d911ac
[FIX] stock_move_location: Error on onchange origin location
HviorForgeFlow Feb 26, 2020
773478e
[IMP] stock_move_location: Allow to select any location.
sergio-teruel Jun 11, 2020
35f70f0
[IMP + FIX] stock_move_location: Display reserved quantity in wizard …
sergio-teruel Nov 2, 2020
ac22cc6
[MIG] stock_move_location: Migration to 14.0
joao-p-marques Dec 2, 2020
8990e50
Translated using Weblate (French)
remi-filament Sep 7, 2021
953ac5e
[IMP] stock_move_location: black, isort, prettier
BernatPForgeFlow Dec 20, 2021
840c4b1
[MIG] stock_move_location: Migration to 15.0
BernatPForgeFlow Dec 21, 2021
42494e2
[ADD] stock_picking_fillwithstock
Apr 16, 2020
1e101fb
[IMP] stock_move_location add posibility to set picking instead of cr…
Apr 23, 2020
d51a0a3
[IMP] add posibility to move only not reserved quantity
Apr 23, 2020
e38053e
stock_move_location: Remove update of assigned moves location
grindtildeath Sep 5, 2022
1dd0b74
[FIX] stock_move_location: Bug on onchange origin location
alexeirivera87 Sep 21, 2022
4e0b1fd
[MIG] stock_move_location: Migration to 16.0
tupaq Nov 14, 2022
6ffd686
[FIX] stock_move_location
AungKoKoLin1997 Dec 27, 2022
12c167c
Translated using Weblate (Japanese)
WangTKurata Jan 11, 2023
ced9c76
[14.0][IMP] stock_move_location: packages support
Jul 28, 2022
bba8422
[14.0][IMP] stock_move_location: owner support
Abranes Nov 3, 2022
718d316
Translated using Weblate (Spanish)
Ivorra78 Jul 27, 2023
4863520
Added translation using Weblate (Italian)
mymage Nov 17, 2023
0156c32
[BUILD] stock_move_location: convert readme fragments to markdown
yajo Nov 22, 2023
9dbb9fb
[DOCS] stock_move_location: improve usage instructions
yajo Nov 22, 2023
69adcb4
[IMP] stock_move_location: improve planned transfer
AungKoKoLin1997 Dec 1, 2023
ddc38c4
[FIX] stock_move_location: reserverd_quantity is always zero when mov…
AungKoKoLin1997 Dec 14, 2023
eed37b9
[FIX] stock_move_location: _get_locations_domain()
yostashiro Dec 23, 2023
6ac47b1
Added translation using Weblate (Portuguese)
dreispt Jan 3, 2024
a6cfc69
[UPD] add new parameters
AungKoKoLin1997 Jan 25, 2024
f69b806
Translated using Weblate (French)
yassine-rhimi Jan 29, 2024
b7cdef9
[FIX] stock_move_location: correct method _get_putaway_strategy name
pilarvargas-tecnativa Mar 22, 2024
799b616
[IMP] stock_move_location
AungKoKoLin1997 Apr 3, 2024
eb26f4f
[FIX] stock_move_location: The new picking is created with other pick…
sergio-teruel Apr 12, 2024
e60d16a
[IMP] stock_move_location: use current active company in multicompany…
MarinaAForgeFlow Apr 23, 2024
b05c29b
[IMP] stock_move_location: 'Move from location' button also on outgor…
lmignon Jul 24, 2024
d860df2
[IMP] stock_move_location: Improve UI and add hooks
lmignon Jul 24, 2024
1be8b60
[IMP] stock_move_location: speedup tests
lmignon Jul 24, 2024
e3ee497
[FIX] stock_move_location: fix planned transfer incorrect reserved_uo…
AungKoKoLin1997 Apr 9, 2024
257ecde
Translated using Weblate (Italian)
mymage Aug 22, 2024
6ba33c4
[FIX] stock_move_location: prevent putaway rules when we don't need them
chienandalu Jan 10, 2025
97f3d19
[MIG] stock_move_location: Migration to 17.0
May 30, 2024
794a9f1
[IMP] stock_move_location: Improved usage of wizard
May 30, 2024
a6c1a38
[IMP] stock_move_location: pre-commit auto fixes
yankinmax Jan 22, 2025
0925674
[MIG] stock_move_location: Migration to 18.0
yankinmax Jan 22, 2025
16f3b35
[FIX] stock_move_location: Avoid error with non uom when the group is…
CarlosRoca13 Apr 14, 2025
0c9a4f3
[UPD] Update stock_move_location.pot
Apr 14, 2025
86653d5
[BOT] post-merge updates
OCA-git-bot Apr 14, 2025
7099129
[FIX] stock_move_location: fill with stock
jbaudoux May 27, 2025
da42f25
Added translation using Weblate (Slovak)
jprokop1 Sep 3, 2025
76b9a2c
[BOT] post-merge updates
OCA-git-bot Oct 12, 2025
fca679f
[MIG] stock_move_location: Migration to 19.0
dreispt Jan 11, 2026
3f5160d
[FIX] stock_move_location: unreserve so that all on hand qtys are sel…
dreispt Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 178 additions & 0 deletions stock_move_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================
Move Stock Location
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:792445e5024062bee785b19642189b2500b863643ed32db16d168d433c7dc7fd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/19.0/stock_move_location
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-19-0/stock-logistics-warehouse-19-0-stock_move_location
:alt: Translate me on Weblate
.. |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=19.0
:alt: Try me on Runboat

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

This module allows to move entire location of products from one place to
another and move only selected quantities.

**Table of contents**

.. contents::
:local:

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"
- 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
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 and
outgoing transfers). Press it and you will be directed to the wizard.

|image1|

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. 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):

- 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.

Note from Jacques-Etienne Baudoux (BCIM)

- The fill with stock action on stock.picking should not create
manually the move lines but instead call ``action_assign()``. There
are many modules hooking ``action_assign`` that are not called due to
this.

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 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:%2019.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
-------

* 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
- Carlos Roca

- 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

- Laurent Mignon <laurent.mignon@acsone.eu>
- Maksym Yankin <maksym.yankin@camptocamp.com>
- Open Source Integrators <https://www.opensourceintegrators.com>

- Daniel Reis <dreis@opensourceintegrators.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-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/19.0/stock_move_location>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions stock_move_location/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import wizard
from . import models
from .init_hook import enable_multi_locations
27 changes: 27 additions & 0 deletions stock_move_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (C) 2011 Julius Network Solutions SARL <contact@julius.fr>
# Copyright 2018 Camptocamp SA
# Copyright 2020 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Move Stock Location",
"version": "19.0.1.0.0",
"author": "Julius Network Solutions, "
"BCIM,"
"Camptocamp,"
"Odoo Community Association (OCA)",
"summary": "This module allows to move all stock "
"in a stock location to an other one.",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"license": "AGPL-3",
"depends": ["stock"],
"category": "Stock",
"data": [
"data/stock_quant_view.xml",
"security/ir.model.access.csv",
"views/stock_picking_type_views.xml",
"views/stock_picking.xml",
"wizard/stock_move_location.xml",
],
"post_init_hook": "enable_multi_locations",
}
13 changes: 13 additions & 0 deletions stock_move_location/data/stock_quant_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- To move quants directly from qants views -->
<record id="wiz_stock_quant_location_action" model="ir.actions.act_window">
<field name="name">Move to location...</field>
<field name="res_model">wiz.stock.move.location</field>
<field name="binding_model_id" ref="stock.model_stock_quant" />
<field name="view_mode">form</field>
<field name="context" eval="{'origin_location_disable': True}" />
<field name="target">new</field>
<field name="group_ids" eval="[(4, ref('stock.group_stock_user'))]" />
</record>
</odoo>
Loading
Loading