Odoo Help

0

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

By
jianxin
on 11/11/15, 4:59 AM 1,128 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--
6178
| 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 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

Question tools

1 follower(s)

Stats

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