Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
8072 Weergaven

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?

Avatar
Annuleer
Auteur

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

Auteur Beste antwoord

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

Avatar
Annuleer
Auteur

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

Auteur

Is anybody can help me? thanks!

Beste antwoord

Hi,

inspire your self by this module code.

You can see here the step to create a new module

 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 23
2391
1
mrt. 19
5379
10
sep. 21
54393
2
okt. 19
11332
0
mrt. 20
2485