How to use unlink method() | Odoo External API | Odoo XMLRPC
Channel:
Subscribers:
29,300
Published on ● Video Link: https://www.youtube.com/watch?v=2b9-rqhiW1U
Records can be deleted in bulk by providing their ids to unlink().
#odooexternalapi #xmlrpc #odooxmlrpc
url = "http://localhost:8041"
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', 'unlink', [[64]])
print("delete_rec",delete_rec)
Other Videos By Cybrosys Technologies
Tags:
odoo
odoo erp
how to override unlink method in odoo
how to use name search method in odoo
how to use name_search method in odoo
how to use search_count method in odoo
how to use _name_search method in odoo
how to delete external id in odoo
how to use delete tag in odoo
how to use orm in terminal
unlink method in odoo
unlink method
unlink odoo in method
how to delete record in odoo
how to override delete method in odoo
external application connect odoo