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

I am trying to find where excatly is created new delivery from sale order in Odoo 14 community edition?

아바타
취소
베스트 답변

Once the sale order confirmed, it calls  _action_launch_stock_rule method in sale_stock module the below 

https://github.com/odoo/odoo/blob/4b36dc25929b8aeac03b3a93c043b23b89141d94/addons/sale_stock/models/sale_order.py#L148

Method  _action_launch_stock_rule  call run( procurements) to create  procurement order

https://github.com/odoo/odoo/blob/4b36dc25929b8aeac03b3a93c043b23b89141d94/addons/sale_stock/models/sale_order.py#L561

then from the procurement it creates stock moves, and from the stock move it creates the stock.picking delivery order.

아바타
취소
관련 게시물 답글 화면 활동
0
8월 21
2406
0
4월 25
4024
0
1월 24
169
0
8월 21
4228
1
4월 21
2958