콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4965 화면

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.

아바타
취소
베스트 답변

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"/>
아바타
취소
작성자

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.

관련 게시물 답글 화면 활동
1
1월 25
1394
0
7월 22
2461
3
9월 20
3114
2
12월 15
4720
0
3월 15
3179