Odoo Help

Welcome!

This community 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.

0

How to develop a notification module?

By
Nanie BE
on 8/18/14, 8:01 AM 402 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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