How to Create Record Rules in Odoo 16 | Security in Odoo 16 | Odoo 16 Development Tutorials – CBMS Odoo ERP

This video describes record rules in Odoo 16 and how to create record rules in Odoo 16. In business, there are different types of records. And it is essential to provide proper security for those records. In odoo this is managed using Record Rules. #odoo16 #odoodevelopment #odootutorials Connect With Us: ——————– ➡️Website: ➡️Email: info@cybrosys.com ➡️Twitter: […]

How to Override Delete Function in Odoo15 | Odoo 15 Development Tutorials – CBMS Odoo ERP

This video is about the overriding delete function in Odoo15. The function which is executing while we delete a record is the unlink method of the model. #odoo15videos If we want to include any additional functionality while we delete a record we will need to override the corresponding models’ unlink method. #odoo15developmentvideos #odootechnicalvideos Connect With […]

How to use unlink method() | Odoo External API | Odoo XMLRPC – CBMS Odoo ERP

Records can be deleted in bulk by providing their ids to unlink(). #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, {}) print(“uid = “,uid) models = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/object’.format(url)) delete_rec = models.execute_kw(db, uid, password, ‘res.partner’, […]

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)) […]

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, {}) […]

How to do Logging in Odoo 14 Using External API | Logging in Odoo 14 | Odoo XMLRPC – CBMS Odoo ERP

Odoo requires users of the API to be authenticated before they can query most data. The xmlrpc/2/common endpoint provides meta-calls that don’t require authentication, such as the authentication itself or fetching version information. To verify if the connection information is correct before trying to authenticate, the simplest call is to ask for the server’s version. […]

List Records | Odoo External API XML-RPC – CBMS Odoo ERP

#odooexternalapi How to list records using Odoo external API using XML-RPC, this short video details listing records in odoo. Records can be listed and filtered via search(). external-api code: 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, […]