I'm trying to limit options shown in the Packages window. I have two Many2One fields:
- Carrier
- Package Type
When I select a certain "Carrier" I only want to see the package types associated with that carrier. For example "dhl" has (pack1, pack2, pack3), "fedex" has (pack4, pack5, pack6) and "usps" has (pack7, pack8, pack9).
I have figured out how to do this with a single carrier in the Domain of the "Package Type" field:
[["package_carrier_type","=","dhl"]]
However, I haven't figured out how to properly write the domain to work with all the carrier options. Any help is greatly appreciated.
V16