How to write an on_change that modifies a field inside a o2m field?
Asked by
Leonardo Pistone
Hi all.
I'd like to have an on_change of a field to change a field inside a o2m field. It's not clear to me how to write the result['value'] in that case.
Practical example:
take the invoice view as it is now in v6. Suppose I wanted to improve the fiscal_position field, adding an on_change to it that re-computes the taxes inside the invoice lines. It's not clear to me what the on_change function should return in that case
Any pointers?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Leonardo Pistone for more information if necessary.
To post a message you must log in.