I am using Odoo on cloud instance, trying to import csv file from command line, when I tried to import it from psql to "crm.lead" table they are imported but the data does show up in Odoo application.
COPY res_partner(name, website,email,phone)
FROM '/home/ubuntu/sample/data.csv'
WITH DELIMITER ','
CSV HEADER;
templ=# SELECT count(*) FROM res_partner;
count
-------
25647
(1 row)
But in customers(Odoo) I can't find the data. I also tried some python script from some other sources
but nothing works in my case. need some help.