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.
I have copied a table to a csv file from postgres.
The csv file contains this data
The last column is Boolean value in postgres table the Boolean value is taken only as 't' or 'f'.
While I importing this csv file in odoo it shows this error in yellow color
"Unknown value 't' for boolean field 'state?', assuming 'yes' at row 655
Use '1' for yes and '0' for no"
It take all the values of 't' and 'f' as yes that is it takes all value as 't' while importing changes the state field(boolean) to 't' in postgres table.
So the odoo takes only 0 and 1 as boolean value while importing then how can I import the data of postgres in odoo.
Provide me some other solutions to import postgres boolean value into odoo.
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/7/16, 3:31 AM|
|Seen: 337 times|
|Last updated: 7/7/16, 4:30 AM|