Skip to Content
Menú
This question has been flagged
3236 Vistes

I am trying to onchange sale.order.line 's field (tax_id) and update sale.order 's field, is that even possible? I had tried:

value = {
    'price_unit': '' ,
    'x_istaxcode': True       #custom field in sale.order (boolean)
}
return {'value': value}

Output:

price_unit of the sale order line become 0.00.

x_istaxcode is not changing.

Please advise.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 25
1819
0
de gen. 25
4071
1
d’ag. 23
15652
1
d’ag. 23
14221
1
de jul. 23
11446