Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4908 Weergaven

i defined as follow to display mails in customer(res.partner) window <button name="%(mail.action_mail_archives_feeds)d" type="action" context="{'search_default_partner_ids': name }" string="inbox"/> <button name="%(mail.action_mail_archives_feeds)d" type="action" context="{'search_default_author_id': active_id }" string="outbox"/>

is there any possibility to pass '|' in context to combine both. i want both should be done in single button.

Avatar
Annuleer
Beste antwoord

Hmmm, i'm not sure what are you trying to do but this should work:

<button name="%(mail.action_mail_archives_feeds)d" type="action" context="{'search_default_author_id': active_id, 'search_default_partner_ids': name }" string="outbox"/>
Avatar
Annuleer
Auteur

if we try your opinion we'll obtain the AND condition of author_id and partner_id's . but my requirement is for OR condition.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jan. 25
1233
0
jul. 22
2338
3
sep. 20
3009
2
dec. 15
4636
0
mrt. 15
3098