This question has been flagged
1 Reply
2245 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