跳至內容
選單
此問題已被標幟
3630 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 21
2126
1
6月 22
2552
2
7月 25
283
1
10月 21
4624
1
4月 21
2642