Yardım

0

prevent auto creation stock picking, Inherit function and comment line

Avatar
abdeljalil

Hi community,

I want to prevent manual creation of delivery form sale.order and i found this function 

def _action_confirm(self):
       self.order_line._action_launch_stock_rule()
       return super(SaleOrder, self)._action_confirm()

do that ,

and i want to inherit function and comment this  self.order_line._action_launch_stock_rule() how can i do that 

Thanks

Avatar
Vazgeç