Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
8195 มุมมอง

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!

คำตอบที่ดีที่สุด

Read this: https://doc.odoo.com/trunk/mail/mail_openchatter_howto/

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

inspire your self by this module code.

You can see here the step to create a new module

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 23
2502
1
มี.ค. 19
5462
10
ก.ย. 21
54728
2
ต.ค. 19
11473
0
มี.ค. 20
2574