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

I was wondering if it is able to configure specific articles (example article A) in a BOM (Odoo 13) to switch to other specific articles (article B) that are not already set in the BOM, for example if Article A stock is 0, then select article B for that specific manufacturing order instead. 


Alternatively I could create two BOMs for the same product and based on the stock create one BOM with Article A and one with Article B, but that would not be my preferred solution. Thank you for your help!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Dear Mo,

You need to create custom function to check the stock qty before confirming the manufacturing order.The custom function check the all the BOM sequential wise and weather the items are not available on the first BOM then it will check the second BOM and if the items are available the BOM will selected automatically.

Thank you. 

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