mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_move_location: 'Move from location' button also on outgoring picking type
This commit is contained in:
@@ -1,43 +1,37 @@
|
||||
- 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"
|
||||
- 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
|
||||
- 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 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.
|
||||
- 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.
|
||||
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.
|
||||
|
||||

|
||||
|
||||
To enable this option, check "Show Move On Hand Stock" in the Picking Type configuration.
|
||||
To enable this option, check "Show Move On Hand Stock" in the Picking Type
|
||||
configuration.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<field name="show_operations" position="after">
|
||||
<field
|
||||
name="show_move_onhand"
|
||||
attrs='{"invisible": [("code", "not in", ["internal"])]}'
|
||||
attrs='{"invisible": [("code", "not in", ["internal", "outgoing"])]}'
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
|
||||
@@ -71,7 +71,7 @@ class StockMoveLocationWizard(models.TransientModel):
|
||||
for rec in self:
|
||||
picking_type = self.env["stock.picking.type"]
|
||||
base_domain = [
|
||||
("code", "=", "internal"),
|
||||
("code", "in", ("internal", "outgoing")),
|
||||
("warehouse_id.company_id", "=", company_id),
|
||||
]
|
||||
if rec.origin_location_id:
|
||||
|
||||
Reference in New Issue
Block a user