콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
9101 화면

When a SO is converted to an Invoice the Salesperson get the email 

Dear "Salesperson",

You have been assigned to the invoice

View Invoice


How do I stop this?


Thanks



아바타
취소

remove salesperson from follower ids

베스트 답변

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


 

아바타
취소
베스트 답변

if you are a small company and you do not care about Sales Teams structure you can remove the persons from the Sales Team... this should stop the emails. I am trying this solution right now as I was always receiving these emails when somebody (from outside of the Sales Team) was creating an invoice...


I do not know if, on the opposite to this, the fact that the user that creates the invoice is not in the Sales Team leads to the creation of the email...

아바타
취소
베스트 답변

Hello  Angela,

you could try to inherit the sale.order function action_confirm and remove all linked partners (and users) from the message_follower_ids.

          @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

Hope this will help you.

Thanks!

아바타
취소
관련 게시물 답글 화면 활동
3
9월 25
468
2
9월 25
3153
0
10월 25
646
5
2월 25
7894
0
12월 24
2081