inside the o2m field "price_rule_ids" you can add a new line to define a price i'm trying to add a new selection to select depends on the area that we need to deliver to, the problem here at the field called max_value -> it's a float field i want it to change accoutering to the variable field -
for example : if i select Area from "vairable field" the max_value would be a selection field
if i select anything else the field change to be a float as normal .
any ideas how could i approach that ?