Skip to Content
Menu
This question has been flagged
1 Atsakyti
2545 Rodiniai

how to send conversation notification to user when my product quantity is zero

Portretas
Atmesti
Best Answer

Hello Lazark,

You can use message_post() method to show notifications when user change quantity to 0 in write method. In message_post method you can add partners who are going to notified, you can add your message as well.

e.g.

record.message_post(body=body, partner_ids= record.partner_id.ids)

Hope it will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
gruod. 22
2909
0
lapkr. 19
3895
1
vas. 25
1056
4
spal. 23
2739
1
rugs. 23
2291