Skip to Content
Menu
This question has been flagged
1 Reply
2538 Views

I am using Odoo 13 CE. As soon as i confirm a sales, order an automatic delivery is created, I wish to create the delivery order manually, any particular way I can do this ?

Avatar
Discard
Best Answer

Hi,

If you want to block automatic delivery order creation from sales, then it needs little customisation.

there is a module named as sale_stock, in that you need to block one function.

Just go to sale_stock > models > sale_order.py, in that there is function which creates delivery order. just replace bellow code with that function.



 
def _action_confirm(self):
#self.order_line._action_launch_stock_rule()
return super(SaleOrder, self)._action_confirm
Avatar
Discard
Related Posts Replies Views Activity
0
Aug 24
141
1
Jun 24
536
2
May 24
493
0
Mar 24
268
1
Mar 23
3823