This question has been flagged
1 Reply
7718 Views

I want to import some existing database records with create_date and write_date fields into the odoo database.

Seems it is not supported to import these data and keeping these 2 fields with the import/outport feature in odoo.

How to keep these 2 fields after imported? Any idea?

Avatar
Discard
Best Answer

You inherit module and define  new fields create_date_TMP and write_date_TMP as field.datetime. After this import should see new fields. After import, in next step, you change fields names (or copy data) directly in database.

Avatar
Discard