コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
8114 ビュー

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
2433
1
3月 19
5432
10
9月 21
54510
2
10月 19
11385
0
3月 20
2522