Skip to Content
Menú
This question has been flagged
1 Respondre
4768 Vistes

i want call onchange method from xmlrpc 

ex. sock.execute(dbname, uid, pwd, 'model name', 'method name', param)

Avatar
Descartar
Best Answer

Hi sarkar,

I hope this will help you. Here i used sale.order

url = 'http://localhost:8069'
dbname = 'demo_db'
username = 'admin'
pwd = 'admin'
uid = 1

models = xmlrpclib.ServerProxy('{}/xmlrpc/2/object'.format(url))
models.execute_kw(dbname, uid, pwd,'sale.order', 'onchange_partner_id',[[],[1]])
Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 15
9574
1
de gen. 24
3336
1
d’oct. 23
2042
2
d’oct. 23
2282
2
d’ag. 23
4298