Hi! I´m using Odoo Online v19
I want a user to receive a notification when an inventory count is assigned to them.
I tried to do an automated action that either sends an email or creates a task within Odoo, but an error message appears saying those type of actions can only be used in models that use activities or email conversation.
Any ideas on how to notify the user?
Thanks!
Hello,
You can use automated action with Python code to send an email when an inventory count is assigned.,
Examplee
if record.user_id and record.user_id.email:
template = env.ref('your_module.email_template')
template.send_mail(record.id, force_send=True)
This bypasses the chatter limitation.
Let me know if you need assistance regarding this
Thanks
info@codespheretech.in