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 use "Extern_ID" instead of "account.account,ID" while importing a CSV?

By
E.M.
on 5/29/15, 7:04 PM 361 views

Hi I am trying to understand how to use Extern_IDs to import properties:


I have the following CSV line to import (note the value_reference value of "account.account,4"):

__export__.ir_property_17,account.field_res_partner_property_account_payable,property_account_payable,

Many2One,account.account,4


However, as this is being imported, the ID of that account might no longer be the 4, so it won't work.


I would like to use the Extern ID "account_account_4" instead of "account.account,4", as defined in ir_model_data table:

9280 | 1 | 2015-05-29 13:31:09.894337 | 2015-05-29 13:31:09.894337 | 1 | f | account_account_4 | 2015-05-29 13:31:10 | 2015-05-29 13:31:10 | __export__ | account.account | 4


Is that actually possible?

    Thanks

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: 5/29/15, 7:04 PM
Seen: 361 times
Last updated: 5/29/15, 7:35 PM