Skip to Content
Menu
This question has been flagged
1 Atsakyti
2009 Rodiniai

In Odoo's ecommerce, it is possible to display product stock levels in the warehouse so that customers can know how much they can purchase and if there are products still available in stock. 

Within the ecommerce configuration, you can only choose one warehouse location to associate with ecommerce. However, some companies have multiple locations or warehouses and need to show the total quantity of their products, so that later, they can define from which location to ship the products.


As is…

Website > Configuration > Settings > Shop - Products > Inventory defaults



At this point, you can only select one warehouse location to display your product quantities, but in many cases, businesses have multiple warehouses, and they want to show the total product quantities across all their warehouses to facilitate sales. The customer doesn't need to know the specific warehouse location; they simply want to make a purchase and receive their products.


For this case, here is the workaround in the standard solution:


  1. Create all your warehouses, for this example we will create 2 new warehouses:

Inventory > Configuration > Warehouses > New


Note that those new warehouses are in different physical locations.


  1. Create an additional warehouse where it will virtually consolidate the quantities from the other warehouses.


  1. When you create a new warehouse, Odoo automatically creates all the basic locations for the new warehouse, including a stock location configured by default as an intern location. 

For this case, you have to set the TOTWH/Stock location (“Stock location” of “Total Warehouse”) as a view type location. Inventory > Configuration > Locations > Select the TOTWH/Stock location > Change location type to “VIEW”


Set the TOTWH location as the parent location for the two real warehouses (north and south):

Inventory > Configuration > Location > Remove the “internal locations” filter > Select the location > Set parent location


4.1 Remove the internal location filter

4.2 Select the location “NRTWH” or “STHWH” this locations should be in blue and type “View” 

4.3 Set parent location “TOTWH” (total warehouse view location)


4.4 Repeat this step for all warehouses you want to include in the virtual warehouse.

  1. Now you have 3 warehouses, two physical (North and South) and one virtual (Total).




To validate that it works:


  1. Create one product and set quantities on the two physical locations


  1. Set the Total Warehouse as the warehouse of e-commerce. Total Warehouse, should summarize the quantities of both physical warehouses.
  2. Total Warehouse, should summarize the quantities of both physical warehouses.


  1. Create a sale of the test product (“Cool product” for this case) and make sure to enter a quantity that exceeds the units in one warehouse (100 units in north, 150 units in south) to demonstrate how the system utilizes both warehouses to supply the e-commerce.


  1. On the delivery form, you can select the internal location(s) where you want to take the products, in this case we will take 100 units from NRTWH/Stock and 75 units from STHWH/Stock:

 

Portretas
Atmesti

Is there a solution if the second Warehouse is from a "Branche" from the company? because when implementing the solution, the system gives an error saying that the Parent location belongs to another company.
Thanks

Best Answer

Hello Jorge,

It seems that this configuration doesn't work on Odoo 17.

From what I have tested, it is impossible to do a transfer based on "view" location as the source location.

Portretas
Atmesti

Yes, that seems to be the case.

If NRTWH and STHWH (location type 'view') are child locations of TOTWH (also type view), then the products aren't reserved within their stock locations.

The solution works if either the stock locations in the individual WHs(NRTWH/Stock and STHWH/Stock) are internal locations while being the child location of TOTWH/Stock.

Or if NRTWH and STHWH and type internal location

Or the option is to have the WHs (NRTWH and STHWH) as type view with parent location TOTWH/Stock type view (the stock location of virtual WH)

Note: To select the virtual warehouse’s stock location in the Parent Location drop-down menu, the parent warehouse stock location (TOTWH/Stock) must have its Location Type set to Internal Location.
Once the child WHs have been set, this location (TOTWH/Stock) type can be changed to 'view'

In the illustration above it seems the child WHs have been linked to a WH (TOTWH) rather than its stock location (TOTWH/Stock)

Related Posts Replies Rodiniai Veikla
5
geg. 25
13501
3
geg. 25
6511
1
geg. 25
361
1
geg. 25
11
2
bal. 25
410