Odoo Help


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

on 9/20/16, 5:22 AM 583 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?

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.


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)


Asked: 9/20/16, 5:22 AM
Seen: 583 times
Last updated: 9/20/16, 5:53 AM