[IMP] mail : Display Log instead of Send in full mail composer

Purpose
=======

Improve label in full mail composer.

Specification
=============

In full mail composer if it's log than send button string should be "Log".
This commit is contained in:
Deep Patel
2017-05-19 15:50:00 +02:00
committed by Yannick Tivisse
parent f57f133047
commit b6660433c6
@@ -74,7 +74,8 @@
context="{'default_model': model, 'default_body_html': body, 'default_subject': subject}"/>
</group>
<footer>
<button string="Send" name="send_mail_action" type="object" class="btn-primary"/>
<button string="Send" attrs="{'invisible': [('is_log', '=', True)]}" name="send_mail_action" type="object" class="btn-primary"/>
<button string="Log" attrs="{'invisible': [('is_log', '=', False)]}" name="send_mail_action" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel" />
<button icon="fa-lg fa-save" type="object" name="save_as_template" string="Save as new template"