This question has been flagged

I prepare a domain filter on the message_ids but this not work, what is the problem?

I want to filter all emails only for this view, related to the partner, on the parter form.

    <?xml version="1.0"?>
<xpath expr="//sheet" position="after">


                    <div class="oe_chatter">
                    <group name="grp_history" string="Email History">
                        <field name="message_ids" colspan="4" nolabel="1" domain="['|',
                    ('notification_ids.partner_id.user_ids', 'in', [uid]),
                    ('author_id.user_ids', 'in', [uid]),
                ])"  /> 

                    </group>            
                    </div>


                </xpath>

Thx

Avatar
Discard