Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Could you explain the use case in more detail?
If you want to pop up the alert on click of a button, you could use:
<button string="my_button" confirm="Are you sure?" />
This will be in the XML file
If you want to raise it as an alert on programming logic, you could use:
raise osv.except_osv(('Permission Denied!'),('You are not allowed to perform this operation.'))
This will be in .py file
This would be in your .js file.
Please describe the scenario you want to show this error.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/7/15, 3:07 PM|
|Seen: 507 times|
|Last updated: 8/5/15, 7:30 AM|