콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1763 화면

Hello!

I'm trying to find where is the stock.picking created when confirmed a sale.order via Python Odoo 18.


Thanks in advance!

아바타
취소
베스트 답변

Hi,

In Odoo 18, the stock.picking record is created when a sale.order is confirmed through the method action_confirm() in the sale.order model. Specifically, when you confirm a sale order, Odoo triggers the creation of a corresponding stock picking to handle the delivery process. This is done via the stock.picking creation logic in the sale.order model, which internally calls the stock.picking.create() method from the Stock module, with the relevant details about the products and quantities to be delivered. This process is part of the core flow and can be found in the sale_stock module, which integrates sales and stock management.


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
0
5월 23
3373
1
1월 25
7425
3
3월 25
9479
3
3월 15
8899
1
5월 25
1303