Odoo Help


How can I do a xmlrpc-Search via a many2many-field (from account.invoice.line to account.tax)?

Mathias Neef
on 2/12/15, 5:15 PM 782 views

I want to do a search via xmlrpc from account.invoice.line via the account_invoice_line_tax table which is the many2many table for account.tax.

This is the code, which is not working, becaus account_invoice_line_tax is not a model:
line_tax_ids = sock.execute(dbname, uid, pwd, 'account.invoice.line.tax', 'search', [('invoice_line_id', '=', invoice_line['id'])])

Thank your for your help in advance.

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: 2/12/15, 5:15 PM
Seen: 782 times
Last updated: 3/16/15, 8:10 AM