|
|
@ -9,6 +9,19 @@ |
|
|
|
type="text/javascript"></script> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
<record id="search_notified_partner_ids" model="ir.ui.view"> |
|
|
|
<field name="name">mail.message.search.notified_partner</field> |
|
|
|
<field name="model">mail.message</field> |
|
|
|
<field name="priority">50</field> |
|
|
|
<field name="inherit_id" ref="mail.view_message_search"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<search string="Messages Search"> |
|
|
|
<field name="notified_partner_ids"/> |
|
|
|
</search> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="view_res_partner_mails_count_info_form" model="ir.ui.view"> |
|
|
|
<field name="name">res.partner.mails.count</field> |
|
|
|
<field name="model">res.partner</field> |
|
|
@ -18,7 +31,7 @@ |
|
|
|
<xpath expr="//div[@name='buttons']" position="inside"> |
|
|
|
<button class="oe_inline oe_stat_button" type="action" |
|
|
|
name="%(action_mails)d" |
|
|
|
context="{'search_default_partner_ids': [active_id], 'default_model': 'res.partner', 'default_res_id': active_id}" |
|
|
|
context="{'search_default_notified_partner_ids': [active_id], 'default_model': 'res.partner', 'default_res_id': active_id}" |
|
|
|
icon="fa-envelope"> |
|
|
|
<field string="Mails to" name="mails_to" widget="statinfo"/> |
|
|
|
</button> |
|
|
|