Odoo Help

0

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

By
Artem
on 9/20/16, 5:22 AM 342 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.

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