Filter entries in panel-related

Hi,

I’m trying to filter the entries in a <panel-related>. I was hoping to achieve this with <panel-related ... domain="self.category = 'xyz'"> but it does not seem to work. What am I doing wrong?

Thanks,

The attribute ‘domain’ will not work with panel-related if the field is one-to-many, but if you are using it with many-to-many field it will work at the time of selecting the records.

The Domain will work on the grid/form view use are using in the panel related.
use domain in that view