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

Load a record with xml file in multi-company odoo 9.0

By
Artem
on 9/20/16, 5:22 AM 127 views

Need help with data loading into a multi-company database with xml file.
I try to load the account id searching it by its code with the:

<field name="account_id" search="[('code','=','740.50.00'),]" model="account.account" />

In multi-company I have got two accounts with the same code but for different companies.
How to obtain account_id for the particular company?

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: 9/20/16, 5:22 AM
Seen: 127 times
Last updated: 9/20/16, 5:53 AM