Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2530 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
груд. 22
2900
0
лист. 19
3871
1
лют. 25
1044
4
жовт. 23
2738
1
вер. 23
2291