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

For a specific module, I need to notify the user when the manager confirm a form and the state chaged to 'Confirmed State'.

By
Jihen BEN ALI
on 9/29/16, 9:12 AM 100 views

Hello,

For a specific module, I need to notify the user when the manager confirm a form and the state chaged to 'Confirmed State'.

Any Help about this.

Thanks

1

Bejaoui Souheil

--Bejaoui Souheil--
808
| 2 1 4
Sousse, Tunisia
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant

souheil_bejaoui@hotmail.fr

Bejaoui Souheil
On 9/29/16, 5:31 PM

Hi,

If you inherit the "mail.thread" model for you specific model you will be able to activate the track visibility feature.

add this lines to your form view

<div class="oe_chatter">
    <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
    field name="message_ids" widget="mail_thread"/>
</div>
 

And for all field that you add the attribute track visibility, odoo will notify all users following an object when  that filed is changed.

fields.Char(track_visibility='onchange')

Best regards.

Thanks :)

Jihen BEN ALI
on 9/30/16, 3:24 AM

Welcome.

Bejaoui Souheil
on 9/30/16, 3:36 AM

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: 9/29/16, 9:12 AM
Seen: 100 times
Last updated: 9/30/16, 4:34 AM