Hello everybody!!!!
Please, who can help me know how to call an onchange function from Python XMLRPC?
Thanks a lot in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everybody!!!!
Please, who can help me know how to call an onchange function from Python XMLRPC?
Thanks a lot in advance.
Hello you can call onchange in xmlrpc by following way:
you can call onchage method like other method i.e. create, wrire
for example:
onchage_val = object_of_xmlrpc.execute( 'model.name',
'method_name', and parameters
)
ex:
SO_onchage = object_of_xmlrpc.execute(
'sale.order',
'onchange_partner_id',1, 30
)
where 1 is user_id,
30 is partner_id
Result = {'value': {'fiscal_position': False, 'user_id': 1, 'partner_shipping_id': 30, 'payment_term': 3, 'partner_invoice_id': 30, 'pricelist_id': 1}}
and for v8 it is call automatically when you pass you data in that particular onchange field.
hope so this will help you.
@krupesh i request you to give some example from reading data from excel file and add onchange event of odoo how to call onchange method from xmlrpc as per above example i can't get idea models.execute_kw(db, uid, password, 'style.product', 'product_id_change_event', userid, productid) using this example i can't read do that thing
@sarkar pls refer this link https://www.odoo.com/forum/help-1/question/where-are-document-attachments-stored-529
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistracijaRelated Posts | Replies | Rodiniai | Veikla | |
---|---|---|---|---|
|
1
vas. 16
|
4639 | ||
|
1
gruod. 15
|
6802 | ||
|
4
gruod. 19
|
7374 | ||
|
1
vas. 16
|
6521 | ||
|
0
rugp. 15
|
3480 |