Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][MIG] stock_move_location #743

Merged
merged 23 commits into from
Nov 11, 2019
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a1da206
[ADD] stock_move_location
mathieuvatel Mar 7, 2012
ca0ccfb
[MIG] 11.0 stock_move_location
Dec 27, 2018
b14b126
[IMP] refactor to use pickings instead of inventories
Jan 8, 2019
b52034e
prevent user from creating lots from the wizard
Jan 16, 2019
1e34931
[11.0][MIG] stock_move_location: fixing/improving code + add a roadmap
sebalix Jan 24, 2019
b512158
[UPD] README.rst
OCA-git-bot Jan 30, 2019
5984842
[UPD] Update stock_move_location.pot
oca-travis Jan 30, 2019
b9055d3
[FIX] stock_move_location: fix the 'group_lines()' method
sebalix Feb 7, 2019
8c2d9e8
[ADD] icon.png
OCA-git-bot Apr 3, 2019
1f1c0dc
Added translation using Weblate (Spanish)
sergio-teruel Apr 16, 2019
639162c
[11.0][IMP] stock_move_location: Allow move products from one locatio…
sergio-teruel Apr 16, 2019
d2cf3ce
[UPD] Update stock_move_location.pot
oca-travis Apr 24, 2019
8dc079a
Translated using Weblate (Spanish)
etobella Apr 25, 2019
7a4eb6f
Update translation files
oca-transbot May 20, 2019
e95b457
[11.0][FIX] stock_move_location: Not check availability when do immed…
sergio-teruel May 24, 2019
860857a
[UPD] README.rst
OCA-git-bot Jul 29, 2019
0a71116
Added translation using Weblate (German)
wildi1 Oct 25, 2019
fb34b77
Translated using Weblate (German)
wildi1 Oct 25, 2019
7643d51
Translated using Weblate (German)
wildi1 Oct 25, 2019
a478db3
Translated using Weblate (German)
wildi1 Oct 25, 2019
6b6768d
[MIG] stock_move_location to v12
Nov 6, 2019
bb8a99b
[12.0][IMP] stock_move_location: Applies put away strategy
Nov 7, 2019
d4f0ee0
[12.0][FIX][stock_move_location] Planned transfer: quantity done
Nov 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
109 changes: 109 additions & 0 deletions stock_move_location/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
===================
Move Stock 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--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/11.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-11-0/stock-logistics-warehouse-11-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/11.0
:alt: Try me on Runbot

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

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

**Table of contents**

.. contents::
:local:

Usage
=====

* A new menuitem Stock > Move from location... opens a wizard
where 2 location ca 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 > Master Data > Products` and click "On hand" smart button
or `Inventory > Reporting > Inventory`, the quants view will be
opened.

* Select the quants which you want move to another location

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.

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
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_move_location%0Aversion:%2011.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

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

* Mathieu Vatel <mathieu@julius.fr>
* Mykhailo Panarin <m.panarin@mobilunity.com>
* Sergio Teruel <sergio.teruel@tecnativa.com>
* Joan Sisquella <joan.sisquella@eficent.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/11.0/stock_move_location>`_ project on GitHub.

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

from . import wizard
from . import models
22 changes: 22 additions & 0 deletions stock_move_location/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2011 Julius Network Solutions SARL <contact@julius.fr>
# Copyright 2018 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Move Stock Location",
"version": "12.0.1.1.0",
"author": "Julius Network Solutions, "
"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',
'wizard/stock_move_location.xml',
],
}
16 changes: 16 additions & 0 deletions stock_move_location/data/stock_quant_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<!-- To move quants directly from qants views -->
<act_window id="wiz_stock_quant_location_action"
name="Move to location..."
res_model="wiz.stock.move.location"
src_model="stock.quant"
view_mode="form"
context="{'origin_location_disable': True}"
target="new"
key2="client_action_multi"
groups="stock.group_stock_user"
/>

</odoo>
193 changes: 193 additions & 0 deletions stock_move_location/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_move_location
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-10-25 14:33+0000\n"
"Last-Translator: Stefan Wild <stefan.wild@sewisoft.de>\n"
"Language-Team: none\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"
"X-Generator: Weblate 3.8\n"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Add all"
msgstr "Alle hinzufügen"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Cancel"
msgstr "Abbrechen"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Clear all"
msgstr "Alle entfernen"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_picking_id
msgid "Connected Picking"
msgstr "Verbundene Bewegung"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_create_uid
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_create_uid
msgid "Created by"
msgstr "Erstellt von"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_create_date
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_create_date
msgid "Created on"
msgstr "Erstellt am"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_custom
msgid "Custom line"
msgstr "Angepasste Zeile"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_destination_location_id
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_destination_location_id
msgid "Destination Location"
msgstr "Ziellagerort"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_display_name
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_display_name
msgid "Display Name"
msgstr "Anzeigename"

#. 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
msgid "ID"
msgstr "ID"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Immediate Transfer"
msgstr "Sofortige Lieferung"

#. module: stock_move_location
#: model: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
msgid "Last Modified on"
msgstr "Zuletzt geändert am"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_write_uid
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_write_uid
msgid "Last Updated by"
msgstr "Zuletzt geändert von"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_write_date
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_write_date
msgid "Last Updated on"
msgstr "Zuletzt geändert am"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_lot_id
msgid "Lot/Serial Number"
msgstr "Lot/Seriennummer"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_max_quantity
msgid "Maximum available quantity"
msgstr "Maximal verfügbare Menge"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_stock_move_location_line_ids
msgid "Move Location lines"
msgstr "Lagerort Buchungszeilen"

#. module: stock_move_location
#: model:ir.actions.act_window,name:stock_move_location.wiz_stock_move_location_action
#: model:ir.ui.menu,name:stock_move_location.menuitem_move_location
msgid "Move from location..."
msgstr "Von Lagerort bewegen..."

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_move_location_wizard_id
msgid "Move location Wizard"
msgstr "Umlagerungsassistent"

#. module: stock_move_location
#: code:addons/stock_move_location/wizard/stock_move_location_line.py:70
#, python-format
msgid "Move quantity can not exceed max quantity or be negative"
msgstr "Die Menge darf nicht die Bestandsmenge überschreiten oder negativ sein"

#. module: stock_move_location
#: model:ir.actions.act_window,name:stock_move_location.wiz_stock_quant_location_action
msgid "Move to location..."
msgstr "Zu Lagerort bewegen..."

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_origin_location_id
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_origin_location_id
msgid "Origin Location"
msgstr "Quelllagerort"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_stock_move_location_move
msgid "Part of move location"
msgstr "Teil der Lagerortbewegung"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "Planned Transfer"
msgstr "Geplante Bewegung"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_product_id
msgid "Product"
msgstr "Produkt"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_product_uom_id
msgid "Product Unit of Measure"
msgstr "Produkt Maßeinheit"

#. module: stock_move_location
#: model:ir.model.fields,field_description:stock_move_location.field_wiz_stock_move_location_line_move_quantity
msgid "Quantity to move"
msgstr "Anzahl"

#. module: stock_move_location
#: model:ir.model,name:stock_move_location.model_stock_move
msgid "Stock Move"
msgstr "Lagerbewegung"

#. module: stock_move_location
#: model:ir.ui.view,arch_db:stock_move_location.view_wiz_stock_move_location_form_stock_move_location
msgid "UoM"
msgstr "Einheit"

#. module: stock_move_location
#: model:ir.model.fields,help:stock_move_location.field_stock_move_location_move
msgid "Whether this move is a part of stock_location moves"
msgstr "Ist diese Bewegung Teil der Lagerortbewegungen"

#. module: stock_move_location
#: model:ir.model,name:stock_move_location.model_wiz_stock_move_location
msgid "wiz.stock.move.location"
msgstr "wiz.stock.move.location"

#. module: stock_move_location
#: model:ir.model,name:stock_move_location.model_wiz_stock_move_location_line
msgid "wiz.stock.move.location.line"
msgstr "wiz.stock.move.location.line"