Odooers论坛

欢迎!

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


0

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

形象
odoo
形象
丢弃
2 答案
0
形象
odoo
最佳答案

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


 

形象
丢弃
0
形象
odoo
最佳答案

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
形象
丢弃