I am aware that I have to structure my xmlrpc query like this:
ids = execute(dbname, uid, pwd, model, 'search', args)
fields = ['field_a', 'field_b', 'field_c']
elements = execute(dbname, uid, pwd, model, 'read', ids, fields)
I need help on structuring the args
parameter in order to fetch a list of available elements from these models:
- res.users as in
Settings->Users
- res.company as in
Settings->Companies
- res.partners as in
Sales->Customers
andPurchases->Suppliers
- sale.order as in
Sales->Sales Orders
- account.invoice as in
Accounting->Customer Invoices
- purchase.order as in
Purchases->Quotations
andPurchases->Purchase Orders
UPDATE 1
Each model fetch request should return all the ids that belong to a given company id.