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.
My client do not want anyone to change unit price from sales order line. Rather they want to control changing price from masterdata only.
I checked the filed 'price_unit' from sale order line and the field is readonly
I checked the view 'sale.order.line.form2' and the 'price_unit' has no readonly attributes.
Can anyone help me to make this field readonly so that no one can change the value?
After many days investigating and googleling, I solved using this function, very usefull, is not read only , is a : don't allow users to quote below the sales price of products, and you can make your particular changes.
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: 7/22/13, 7:44 AM|
|Seen: 1762 times|
|Last updated: 3/16/15, 8:10 AM|