Skip to content

Instantly share code, notes, and snippets.

@ilyasProgrammer
Created March 27, 2021 15:05
Show Gist options
  • Save ilyasProgrammer/c1be3e089b46f95349b9a2645afc2e6a to your computer and use it in GitHub Desktop.
Save ilyasProgrammer/c1be3e089b46f95349b9a2645afc2e6a to your computer and use it in GitHub Desktop.
Odoo pop up
notification = {
'type': 'ir.actions.client',
'tag': 'display_notification',
'params': {
'title': ('Your Custom Title'),
'message': 'Your Custom Message',
'type':'success', #types: success,warning,danger,info
'sticky': True, #True/False will display for few seconds if false
},
}
return notification
@TheHardest18
Copy link

how to use this in odoo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment