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.
Custom BOOLEAN Field is neither TRUE nor FALSE initially, it only becomes TRUE when checked, and FALSE when unchecked. Why?
When i click the print button in quotations, my custom boolean fields show:
True (if the field was checked in sale order line) and nothing if the field was not checked in sale order.
I need change this behavior for example if was checked: "The field was checked" and if not was checked: "he field was not checked".
Boolean field value by default is always False, when you create new record. if you haven't set any default on it, it's default feature.
But if you already have some records in the system for particular model and later you've added new Boolean field on that class/table, it will be neither False or True for previous/existing records.
So, you've to update those records by Query , value is null for those old records for the new Boolean field.
Hope, this might help.
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: 5/16/16, 6:23 PM|
|Seen: 1672 times|
|Last updated: 9/13/17, 6:47 AM|