存储类别¶
使用 存储类别 与放置规则一起使用,将产品分配给入库位置,同时考虑该位置的容量。
请按照以下步骤完成设置:
启用功能:在设置中 启用功能
定义存储限制: 定义存储限制
将存储类别分配给存储位置: 将类别分配给存储位置
将存储类别添加为属性到放置规则: 将类别添加为属性到放置规则
更多内容
:doc:`上架策略
Note
将存储类别分配给存储位置,告诉 Odoo 这些位置满足特定的要求,例如温度或可访问性。Odoo 然后基于定义的容量评估这些位置,并基于仓库转移表建议最佳位置。
配置¶
要启用存储类别,请转到 。然后,在 仓库 部分中,请确保已启用 存储位置 和 多步路由 功能。
如果打算通过 包类型 设置容量,请确保已启用 包 。点击 保存 。
定义存储类别¶
在决定最佳存储位置之前,必须首先创建具有特定限制的存储类别。
要创建存储类别,请转到 ,并点击 新建 。
在存储类别表单中,在 存储类别 字段中输入类别的名称。
容量限制可用来限制重量、产品和包类型。
Note
重量限制可结合容量包或产品(例如,最多100个产品,总重量为200公斤)。
存储类别可限制容量,可结合容量包或产品(例如,最多100个产品,总重量为200公斤)。容量可限制产品、包类型,如 包类型 。
允许新产品 字段定义产品是否可存储的位置:
如果位置为空: 只有当位置为空时,才能在此处添加产品。
如果产品相同: 只有在相同产品已经存在的情况下,才能在此处添加产品。
允许混合产品: 该位置可以同时存储多个不同的产品。
Tip
When clicked, the Locations smart button shows which storage locations the category has been assigned to.
Important
Odoo does not automatically split quantities across multiple storage locations. If an incoming receipt contains several units or packages and the first recommended location exceeds its capacity, Odoo still routes all items to that same location instead of selecting another one with available space.
(Example: If a location can hold 10 units and 12 units arrive, all 12 are still assigned to that location.)
Capacity by weight¶
On a storage category form (), set a maximum product weight in the Max Weight field. This limit applies to each location assigned this storage category.
Capacity by product¶
In the Capacity by Product tab, click Add a Line to input items, and enter their capacities in the Quantity field.
Example
Ensure only a maximum of five Large Cabinets and two Corner Desk Right Sit are stored at a
single storage location, by specifying those amounts in the Capacity by Product tab
of a storage category form.
Capacity by package¶
For companies using packages, it becomes possible to ensure real-time storage capacity checks, based on package types (e.g., crates, bins, boxes, etc.).
Create the package type before assigning it to a storage category. Create it on the Inventory tab of the product form (in the Packaging section), or create it from the Product Packagings page. Be sure to set the Package Type.
Example
Create putaway rules for pallet-stored items, by creating the High frequency pallets storage
category.
In the Capacity by Package tab, specify the number of packages for the designated
Package Type, and set a maximum of 2.00 Pallets for a specific location.
Important
Odoo does not automatically split quantities across multiple storage locations. If an incoming receipt contains several units or packages and the first recommended location exceeds its capacity, Odoo still routes all items to that same location instead of selecting another one with available space.
(Example: If a location can hold 10 units and 12 units arrive, all 12 are still assigned to that location.)
Assign to location¶
Once the storage category is created, assign it to a location. Navigate to the location by going to , and select the desired location. Then, select the created category in the Storage Category field.
Example
Assign the High frequency pallets storage category (which limits pallets stored at any location
to two pallets) to the WH/Stock/Pallets/PAL1 sub-location.
Putaway rule¶
With the storage category and location set up, create the putaway rule by navigating to .
Click the New button to create the putaway rule. Specify a location to store to in the Store to field.
Use the Sublocation field to specify that you want to use a sublocation with the storage category:
Last Used: The last location that had a move associated with it for that product or product category is used. If there is no last location used, the destination is whatever is specified in the Store to field.
Closest Location: The locations specified as part of the storage category are used. A storage category is mandatory in the Having Category field.
If using multiple storage locations for a single storage category, create putaway rules for each location to ensure that if one storage location is in use, the secondary locations must be used.
Example
Continuing the example from above, the High frequency pallets storage category is assigned to
the putaway rule directing pallets of lemonade to locations with the High frequency pallets
storage category assigned to them.
Use case: limit capacity by package¶
To limit the capacity of a storage location by a specific number of packages, create a storage category with a Capacity By Package.
Continuing the example from above, the High frequency pallets storage category is assigned to the
PAL1 and PAL2 locations.
Then, putaway rules are set, so that any pallets received in
the warehouse are directed to be stored in PAL1 and PAL2 locations.
Depending on the number of pallets on-hand at each of the storage locations, when two pallets of lemonade cans is received, the following scenarios happen:
If
PAL1andPAL2are empty, the pallet is redirected toWH/Stock/Pallets/PAL1.If
PAL1is full, the pallet is redirected toWH/Stock/Pallets/PAL2.If
PAL1andPAL2are full, the pallet is redirected toWH/Stock/Pallets.If
PAL1is partially full (for example, with one pallet), Odoo treats more than one received pallet as a single pallet on the receipt. You must manually separate the two pallets into separate storage locations. Click the Open Move icon to the right of the Units field, and then in the Open: Stock move box, click Add a line. Finally, split the receipt by quantity into separate locations, then click Save.