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.
17-12-2015 7:05' does not seem to be a valid date for field 'Order Date'
at row 2
'17-12-2015 7:05' does not seem to be a valid datetime for field 'Order Date' at row 2
how i can upload dd/mm/yyyy / H/M format from CSV file
my actual date like that
CSV import expects dates in a specific format - and it tells you this - they need to be in the format "2012-12-31 23:59:59".
Unless you can change the format of the date fields in your files, you can't import them via CSV.
Krupesh is advising either to run a script, or to use Excel/Open Office to change the format of the field into the correct format.
write one script in python and create new csv file for the date format:
suppose you have customer csv open it using below code and format date as per requirement I had split the date with . (dot) you have to format the code as per your requirement.
from new csv file copy whole column to the original csv file you get the formatted date as per requirement.
csv_rd = csv.reader(open("customer"+".csv"), delimiter=';')
count = 0
for rec in csv_rd:
fields = rec
all_datas = 
for rec in csv_rd:
a = 
for rec in all_datas:
s = rec.split('.') + '-' + rec.split('.') + '-' + rec.split('.')
with open('eggs.csv', 'wb') as csvfile:
spamwriter = csv.writer(
csvfile, delimiter=' ', quotechar='|', quoting=csv.QUOTE_MINIMAL)
for val in a:
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: 12/31/15, 11:49 PM|
|Seen: 1537 times|
|Last updated: 1/8/16, 1:52 AM|