Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
8129 Переглядів

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
2443
1
бер. 19
5443
10
вер. 21
54571
2
жовт. 19
11399
0
бер. 20
2529