Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4972 Переглядів

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.

Related Posts Відповіді Переглядів Дія
1
січ. 25
1398
0
лип. 22
2462
3
вер. 20
3117
2
груд. 15
4722
0
бер. 15
3182