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

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

By
Mathias Neef
on 2/12/15, 5:15 PM 474 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.

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