Odoo Help

0

How to develop a notification module?

By
Nanie BE
on 8/18/14, 8:01 AM 531 views

Hi, 

I want to create a module where I regroup all of the adding group in followers of purchase and sales.

For example if I create a  requisition, when this requisition goes on the state of "Sent for Waiting approval", one group 1 is automatically added in the followers.

 this same requisition goes from "Waiting approval" to "Approved", one group 2 is automatically added in the followers.

I've created a file -all_notification.py in which i insert

class all_notification(osv.osv):

_name = 'all.notification'

_inherit = ['mail.thread']

_columns = { }

- 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 requisition workflow for example? Thanks.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 8/18/14, 8:01 AM
Seen: 531 times
Last updated: 3/16/15, 8:10 AM