Menuitems with the same action window domains don't open together

I have added 2 different menuitems (defined in the XML), both open the tree view of project.work and have the same domain in their ir.action.act_window
The issue I am facing is that if one of them is open, the other doesn’t work.
The way I am fixing this is by updating one of the domains with the no op condition because unless the domain are different, this issue persists.

I want to know if this an intentional behaviour, or an issue with the tryton client version I am using.
I ask this because I don’t see this when I use SAO.

I am using Tryton client version 5.0.35 and trytond version 5.0.33

For example, with this code, I can open only one of these windows at a time

<record model="ir.action.act_window" id="act_task_1">
    <field name="name">Tasks 1</field>
    <field name="res_model">project.work</field>
    <field name="domain" eval="[
        ('type', '=', 'task'),
        [('employee', '=', Eval('context', {}).get('employee', None))]
    ]" pyson="1" />
    <field name="search_value"></field>
</record>
<record model="ir.action.act_window" id="act_task_2">
    <field name="name">Tasks 2</field>
    <field name="res_model">project.work</field>
    <field name="domain" eval="[
        ('type', '=', 'task'),
        [('employee', '=', Eval('context', {}).get('employee', None))]
    ]" pyson="1" />
    <field name="search_value"></field>
</record>

I am able to fix it by changing one of these with a no op domain condition

<record model="ir.action.act_window" id="act_task_1">
    <field name="name">Tasks 1</field>
    <field name="res_model">project.work</field>
    <field name="domain" eval="[
        ('type', '=', 'task'),
        [('employee', '=', Eval('context', {}).get('employee', None))],
        ['id', '!=', '0']
    ]" pyson="1" />
    <field name="search_value"></field>
</record>
<record model="ir.action.act_window" id="act_task_2">
    <field name="name">Tasks 2</field>
    <field name="res_model">project.work</field>
    <field name="domain" eval="[
        ('type', '=', 'task'),
        [('employee', '=', Eval('context', {}).get('employee', None))]
    ]" pyson="1" />
    <field name="search_value"></field>
</record>

I’m not sure if what you are tring to achieve makes sense. Once you have a tab it does not make sense to have another domain with the same domain.

Could you elaborate why you need to diferent tabs with the same tab?

Each of these tabs is further divided into several ir.action.act_window.domains. The tabs provide users different ways to view the tasks assigned to them. One tab is, “my current tasks,” while the other is “all my tasks.” At the level of the ir.action.act_window, they start with the same filtering logic (tasks of this employee), they are then filtered in different ways according to their ir.action.act_window.domains.

This seems a logical use case for me, but if Tryton doesn’t support it, we could move some filtering logic out of the act_window.domains, and up to the act_window.

The tab_domain attribute is not used to compare tabs. I think it should be added: Issue 10441: tab_domain not used to compare tabs - Tryton issue tracker