Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
8105 Visualizzazioni

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
Abbandona
Autore

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

Autore Risposta migliore

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
Abbandona
Autore

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

Autore

Is anybody can help me? thanks!

Risposta migliore

Hi,

inspire your self by this module code.

You can see here the step to create a new module

 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 23
2427
1
mar 19
5422
10
set 21
54481
2
ott 19
11375
0
mar 20
2515