Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4772 Lượt xem

Hi,

I export my contacts and import them in a different odoo system. I exported both ID and External ID columns. Former column is interger and latter one is text.

When I import, the ID column can't be accepted, and I can't find the correct ID column in the drop down list.



If I don't import the ID column, some mapping relationship will be messed up.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You cannot import record IDS due to ids are generated dynamically by Odoo

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

As @Julio reported, you cannot import the database id field, as this is managed by Odoo.

You do not need to import this field.

The External ID field is what references the record, and this is what determines if Odoo creates a new record or updates an existing record.

See also:

https://www.odoo.com/documentation/user/14.0/general/base_import/import_faq.html#what-s-the-difference-between-database-id-and-external-id

https://www.odoo.com/forum/help-1/what-is-an-external-id-and-what-is-its-uses-95070

Ảnh đại diện
Huỷ bỏ
Tác giả

OK, thanks, I get this now. But how do I export and import messages attached to all project tasks? In Settings->Technical->Messages, I can export them, but they only associate with project task with document ID, which is database ID, not external ID.

Since you are not using the ID field to create/update - just to reference - you can use the field as you would expect.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
30
1
thg 11 23
2609
1
thg 3 17
3938
1
thg 10 23
2298
2
thg 5 25
1165