Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1370 Prikazi

Hello!

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


Thanks in advance!

Avatar
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
maj 23
3168
1
jan. 25
7170
3
mar. 25
9205
3
mar. 15
8704
1
maj 25
1106