<field name="history" invisible="1"/>
<button
string="Reply" attrs="{'invisible': [('history', '!=', True)]}"
- name="%(emails.action_email_message_wizard_send)d"
+ name="%(emails.action_email_compose_message_wizard)d"
context="{'mail':'reply', 'model': 'hr.applicant', 'include_original' : True, 'message_id':active_id}"
icon="terp-mail-replied" type="action" />
</tree>
<group attrs="{'invisible': [('history', '!=', True)]}">
<field name="description" colspan="4" nolabel="1" height="250"/>
<button colspan="4" string="Reply"
- name="%(emails.action_email_message_wizard_send)d"
+ name="%(emails.action_email_compose_message_wizard)d"
context="{'mail':'reply', 'model': 'hr.applicant', 'include_original' : True, 'message_id':active_id}"
icon="terp-mail-replied" type="action"/>
</group>
context="{'model': 'crm.lead' }"
icon="terp-document-new" type="action" />
<button string="Send New Email"
- name="%(emails.action_email_message_wizard_send)d"
+ name="%(emails.action_email_compose_message_wizard)d"
context="{'mail':'new', 'model': 'hr.applicant', 'record_id' : active_id}"
icon="terp-mail-message-new" type="action"/>
</page>