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.
Hello, I have Odoo 8.
I override the "create" method of the model "product.pricelist.item" in which I do some things after the record is created. In updating the record, I have some problems, so I don't want to allow the update. How can I turn off the "save" button when the user is updating, or how to display an error message when the user presses this button?
Use security groups...
By putting a user in high security restricted gruoup you can deny him some rights...
For any field (attribute) of any model you can specify CRUD (create,read,update, delte) rights...
You can modify them in GUI (Settings > Technical > Security
Or modify then via custom module and import security rules : )
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 12/10/14, 7:23 AM|
|Seen: 522 times|
|Last updated: 3/16/15, 8:10 AM|