Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
804 Lượt xem

I'm pretty confused by the putaway rules and product capacity restrictions. What I would expect to happen, both from reviewing the documentation as well as studying the source code, is not what is actually happening. I want to define box size categories, give them a max capacity of products, and assign them to locations. My ultimate goal is to build a Capacity by Category deal.

Here's my setup

Product (tshirt):

  • Variation: SM
  • category: apparel

storage locations:

  • WH/Stock/01
    • Storage Category: standard box
  • WH/Stock/02
    • Storage Category: standard box

Storage Categories:

  • standard box
    • Weight: 9999 lbs (also tried blank)
    • Capacity by Product:
      • tshirt (SM): Qty 5

Putaway Rule:

  • when product arrives in: WH/Stock
  • Product Category: apparel
  • Store to sublocation: WH/Stock
  • Having Category: standard box (also tried with blank)

perform these actions:

  1. Create a receipt for 5 tshirt (SM) products
  2. validate the receipt
  3. create a new receipt for 5 tshirt (SM) products
  4. validate the receipt

given this setup, and from my understanding of the source code and documentation, I would expect to find 5 tshirts in WH/Stock/01 and 5 tshirts in WH/Stock/02 however I find all 10 of them in WH/Stock/01.

Additionally If I create a receipt for 10 shirts (more than the capacity of the box), I would expect the system to split the quantity up into both locations, but the source code seems to suggest that if a putaway location is not found, then it should default to itself (if 'view' type) and even that doesnt happen.

Odoo's documentation for Putaway Rules, at the bottom, states very clearly that if a location is considered full, the system will keep going down the list of applicable child locations until it finds one that isnt. this does not happen. I have been tinkering with it for hours and can not get a single scenario that will work as stated in the docs. 

Anyone help?

Ảnh đại diện
Huỷ bỏ