Skip to Content
Menu
This question has been flagged
2610 Views

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
Discard
Related Posts Replies Views Activity
1
Aug 23
12549
1
Aug 23
11056
1
Jul 23
7228
4
Apr 23
8677
2
Feb 23
17600