Odoo Help

Welcome!

This community 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.

0

Is it possible to import data with create_date and write_date field?

By
jianxin
on 11/11/15, 4:59 AM 968 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?

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 11/11/15, 7:41 AM

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.

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/11/15, 4:59 AM
Seen: 968 times
Last updated: 11/11/15, 7:41 AM