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
|Asked: 7/7/16, 3:31 AM|
|Seen: 285 times|
|Last updated: 7/7/16, 4:30 AM|