How to use search_count method in Odoo | XML RPC | Odoo External API – CBMS Odoo ERP

Rather than retrieve a possibly gigantic list of records and count them, search_count() can be used to retrieve only the number of records matching the query. It takes the same domain filter as search() and no other parameter. url = ” db = ‘test_local_enterprise_db’ username = ’14’ password = ’14’ import xmlrpc.client common = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/common’.format(url)) […]

Listing record fields | Odoo External API | Odoo XMLRPC – CBMS Odoo ERP

fields_get() can be used to inspect a model’s fields and check which ones seem to be of interest. Because it returns a large amount of meta-information (it is also used by client programs) it should be filtered before printing, the most interesting items for a human user are ‘string’ (the field’s label), ‘help’ (a help […]

How to update records in Odoo 14 | Using External API | Odoo XMLRPC – CBMS Odoo ERP

Records can be updated using write(), it takes a list of records to update and mapping of updated fields to values similar to create(). #odooexternalapi #xmlrpc #odooxmlrpc url = ” db = ‘test_local_enterprise_db’ username = ’14’ password = ’14’ import xmlrpc.client common = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/common’.format(url)) version = common.version() print(“version”, version) uid = common.authenticate(db, username, password, {}) […]

Odoo 14 Dashboards | Odoo Functional Tutorials – CBMS Odoo ERP

The dashboards module can be used as an effective data monitoring tool in a company to identify and plan business resources. This module allows a company to arrange and manage much critical information related to their business including total income of the company, sale orders, purchase orders, financial flows, lead generation, logistics, and human resources […]

How To Add Relational Fields Using Odoo 14 Studio? – CBMS Odoo ERP

Odoo Studio lets you add several different field types, including the following relational fields: Related fields: This is normally used to add more information from another related Model (database table). It has to be information from a Model that is already linked. many2one: This will create a new database relationship (in this example it’s between […]