Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4790 Näkymät

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

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 21
2225
0
huhtik. 25
3784
0
tammik. 24
169
0
elok. 21
4063
1
huhtik. 21
2776