Hello All
first of all , thanks in advanced :)
I have the Following 2 fields:
freight_type = fields.Selection(
[('Ocean', 'Ocean'), ('Air', 'Air'), ('Land', 'Land')],
default='',
required=True
)
ship_type = fields.Selection(
[('FCL', 'fcl'), ('LCL', 'lcl'), ('Air', 'air'), ('Land', 'land')],
default='',
required=True
)
What I Need :
When I choice value 'Ocean' from field freight_type I want to filter ship_type to show only values ('FCL','fcl')
When I choice value 'Air' from field freight_type I want to filter ship_type to show only values ('Air','air')
When I choice value 'Land' from field freight_type I want to filter ship_type to show only values ('Land','land')
So, the field ship_type will show values which depends on field freight_type
regards ,