Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2536 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 22
2900
0
nov 19
3876
1
feb 25
1046
4
ott 23
2738
1
set 23
2291