import odoorpc
odoo.env['account.invoice'].search(['partner_id', '=', 1])
Raises this exception;
odoorpc.error.RPCError: Invalid leaf partner_id
Expected:
returns a resultset of all invoices for that account
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps: