Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

How to disable "You have been assigned to order XXX" email

Avatar
odoo
Avatar
Discard
2 Answers
0
Avatar
odoo
Best Answer

In Developer Mode, create an Automation from Settings --> Technical --> Automation --> Automation Rules


 

Avatar
Discard
0
Avatar
odoo
Best Answer

Hi,

Try the below code to inherit the sale.order function action_confirm and select the users.


          @api.multi
          def action_confirm(self):
        return_value = super(sale_order,          
        self.with_context(mail_create_nosubscribe=True)).action_confirm()
        for follower in self['message_follower_ids']:             follower.unlink()
        return return_value



Thanks
Avatar
Discard