How to Override Create, Write, Unlink Methods in Odoo15 | Odoo 15 Development Tutorials – CBMS Odoo ERP

In this video, we are discussing How to override the create, write and unlink methods in odoo15. #odoo15developmentvideos Video Contents ————————- 00:06 Introduction 00:40 Override the Create, Write & Unlink Methods Create() function in odoo is used to create a new record in a model. Overriding a create function in odoo will help us to […]

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’, […]