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]])
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
dez. 15
|
9561 | ||
|
1
jan. 24
|
3278 | ||
|
1
out. 23
|
2019 | ||
"Wrong value for %s: %r" % (self, value)
Resolvido
|
|
2
out. 23
|
2242 | |
|
2
ago. 23
|
4252 |