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.
On CRM opportunity form view, i added readonly="1" for probability field. When i saved, whatever the value of my probability, it's stored with NULL value.
Is it a bug on OpenERP ?
Hello!Actually Probability field's value is dependant upon stage_id field ,there is an onchange method on stage_id so if you put readonly on probability field than it will not store value when you save record because it's readonly. But there is an option to store value in such kind of situation, i.e you have to override create and write method for crm.lead and assign value in probability field from there.
Acespritech Solutions Pvt. Ltd.
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: 1/2/14, 6:08 AM|
|Seen: 1539 times|
|Last updated: 3/16/15, 8:10 AM|