diff options
| author | rpa (Open ERP) <rpa@tinyerp.com> | 2010-08-25 15:20:57 +0530 |
|---|---|---|
| committer | rpa (Open ERP) <rpa@tinyerp.com> | 2010-08-25 15:20:57 +0530 |
| commit | 0d669c2c1d9cbd31e319c599c2bf62bf63a51167 (patch) | |
| tree | 7f2a57c87ee2173a5c0b428184b8fe30fc2abf3c | |
| parent | 6468f89caf538dd157c694fa85266dec3f841ab8 (diff) | |
[IMP]: email_template: Improvement in form view of Mailbox
bzr revid: rpa@tinyerp.com-20100825095057-7p231enhmg1llay3
| -rw-r--r-- | addons/email_template/email_template_mailbox.py | 3 | ||||
| -rw-r--r-- | addons/email_template/email_template_mailbox_view.xml | 33 |
2 files changed, 15 insertions, 21 deletions
diff --git a/addons/email_template/email_template_mailbox.py b/addons/email_template/email_template_mailbox.py index 20103ed7ffc..e60ea89c652 100644 --- a/addons/email_template/email_template_mailbox.py +++ b/addons/email_template/email_template_mailbox.py @@ -171,8 +171,7 @@ class email_template_mailbox(osv.osv): ('na', 'Not Applicable'), ('sending', 'Sending'), ], 'Status', required=True), - 'date_mail':fields.datetime( - 'Rec/Sent Date'), + 'date_mail':fields.datetime('Rec/Sent Date', help="Date on which Email Sent or Received"), 'history':fields.text( 'History', readonly=True, diff --git a/addons/email_template/email_template_mailbox_view.xml b/addons/email_template/email_template_mailbox_view.xml index a09cb32f12c..bf2ddc71dfa 100644 --- a/addons/email_template/email_template_mailbox_view.xml +++ b/addons/email_template/email_template_mailbox_view.xml @@ -28,32 +28,27 @@ <field name="body_html" nolabel="1" colspan="4" /> </page> </notebook> + <separator colspan="4" string="" /> + <group col="4" colspan="4"> + <field name="state" readonly="1" string="State"/> + <button name="send_this_mail" type="object" string="Send Mail" icon="terp-mail-message-new"/> + </group> </page> <page string="Attachments"> - <group col="4"> - <separator colspan="4" string="Attachments" /> - <field name="attachments_ids" colspan="4" nolabel="1" /> - </group> + <separator colspan="4" string="Attachments" /> + <field name="attachments_ids" colspan="4" nolabel="1" /> </page> <page string="Advanced"> - <group col="4"> - <field name="account_id" colspan="2" /> - <field name="server_ref" colspan="2" /> - <field name="mail_type" colspan="2" /> - <field name="folder" colspan="2" select="2"/> - <field name="message_id" select="2"/> - <separator string="History" colspan="4" /> - <field name="history" nolabel="1" colspan="4"/> - </group> + <field name="account_id" colspan="2" /> + <field name="server_ref" colspan="2" /> + <field name="mail_type" colspan="2" /> + <field name="folder" colspan="2" select="2"/> + <field name="message_id" select="2"/> + <separator string="History" colspan="4" /> + <field name="history" nolabel="1" colspan="4"/> </page> </notebook> - <separator colspan="4" string="" /> - <group col="4" colspan="4"> - <field name="state" readonly="1" /> - <button name="complete_mail" type="object" string="Download Full Mail" states="read,unread" /> - <button name="send_this_mail" type="object" string="Send Mail" /> - </group> </form> </field> </record> |
