This question has been flagged
1 Reply
2133 Views

Hi

I have created two fields " x_advance and x_balance (both are float) " in sale.order

i wanna add the value in x_advance and amount_total (amount_total is already present in code, which will sum up untaxed amount and tax amount, its field is defined as fields.function)

And save the added value in x_balance

can anyone help me with its function

Avatar
Discard

do you want to modify the function from user-interface of odoo? If so, there is no option to modify python function using custom fields @ user-interface

Author

no am not trying using user interface am trying to with a new module

Author

Am trying to do with on_change function in the field x_advamce