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

Hi, 

how about if I regroup in one module all of the adding a group in the followers for example in purchase, sales..... 

For example when purchase goes Sent for Waiting approval, one group 1 is automatically added in the followers.

 this purchase goes to Waiting approval to Approved, one group 2 is automatically added in the followers.

How to do, I want to gather all of this case in one module?

아바타
취소
작성자

Hi, thanks! I watched this tutorial, but I'm stuck on how to add the script to add group in the followers.

작성자 베스트 답변

I create a file all_notification.py in which i insert class all_notification(osv.osv): _name = 'all.notification' _inherit = ['mail.thread'] _columns = { } a file __openerp__.py in which i insert all depends like purchase, sale, file group.xml where I define all the group. then I stuck on it. where i define which group will be added on the followers of purchase workflow for example? Thanks

아바타
취소
작성자

I create a file all_notification.py in which i insert class all_notification(osv.osv): _name = 'all.notification' _inherit = ['mail.thread'] _columns = { } a file __openerp__.py in which i insert all depends like purchase, sale, file group.xml where I define all the group. then I stuck on it: where i define which group will be added on the followers of purchase workflow for example? Thanks

작성자

Is anybody can help me? thanks!

베스트 답변

Hi,

inspire your self by this module code.

You can see here the step to create a new module

 

아바타
취소
관련 게시물 답글 화면 활동
1
8월 23
2739
1
3월 19
5700
10
9월 21
55271
2
10월 19
11763
0
3월 20
2788