i want call onchange method from xmlrpc
ex. sock.execute(dbname, uid, pwd, 'model name', 'method name', param)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
i want call onchange method from xmlrpc
ex. sock.execute(dbname, uid, pwd, 'model name', 'method name', param)
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]])
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
Dec 15
|
10104 | ||
|
|
1
Jan 24
|
4412 | ||
|
|
1
Oct 23
|
2561 | ||
|
|
2
Oct 23
|
2786 | ||
|
|
2
Aug 23
|
4979 |