Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Auto-validation of picking items

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer

Sometimes the picking raise warning during validation action. you have bypass these warning. i.e. 

pickings_to_validate = pickings.filtered(lambda picking:picking.state in ['assigned'])
pickings_to_validate.with_context(skip_backorder=True,skip_immediate=True).button_validate()
2 Comments
Avatar
Discard
Avatar
odoo
-

Can you guide me how to force the stock move even if the item lacks the required quantity?

Also, how do I process the production raw material stock moves after auto-validating the picking so that it shows that the materials had been reserved?

Avatar
odoo
-

follow the same procedure for every picking in the production