Condition based domain on many to one relation

Hello

This post might help you:

Regards