I have a list with type of member and how many each category have to pay per year. It looks like this:
NAME | PRICE |
Actif | 90.00 |
Actif jeune | 45.00 |
Sympathisant | 100.00 |
In the view "res.partner" I put a many2one member_type field who point on the column name and I want a second field member_price which take the PRICE value according to the value in the field member_type .
Example: I choose Actif in member_type, I want to show 90.00 in the field member_price.
in which model you define field member_price?
Onchange function: https://www.youtube.com/watch?v=qyRhjyp1MeE&list=PLqRRLx0cl0hoJhjFWkFYowveq2Zn55dhM&index=39