We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Count filtred records.
POST /odoo-api/object/search_count
model
filters
db
login
password
import requests import json url = 'http://localhost:8069/odoo-api/object/search_count' data = {'params': {'model': 'res.partner', 'filters': [('is_company', '=', True)], 'db': 'odoo', 'login': 'admin', 'password': 'admin'}} headers = {'Content-type': 'application/json'} r = requests.post(url, data=json.dumps(data), headers=headers) print(r.text)
this.http.post<any>('http://localhost:8069/odoo-api/object/search_count', {params: {model: 'res.partner', filters: [['is_company', '=', true]], db: 'odoo', login: 'admin', password: 'admin'}}).subscribe(data => { console.log(data.result); });