[IMP]: email_template: Minor improvements

bzr revid: rpa@tinyerp.com-20100826124749-tkb0al5xcynni8up
This commit is contained in:
rpa (Open ERP) 2010-08-26 18:17:49 +05:30
parent 3c817a8a77
commit 6608dc1d2f
2 changed files with 9 additions and 7 deletions

View File

@ -80,6 +80,8 @@ class email_template_account(osv.osv):
'name': fields.char('Description',
size=64, required=True,
readonly=True, select=True,
help="The description is used as the Sender name along with the provided From Email, \
unless it is already specified in the From Email, e.g: John Doe <john@doe.com>",
states={'draft':[('readonly', False)]}),
'auto_delete': fields.boolean('Auto Delete', size=64, readonly=True,
help="Permanently delete emails after sending",

View File

@ -12,18 +12,18 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Email Account Configuration">
<group colspan="4">
<group colspan="2">
<field name="name" select="1" />
<field name="auto_delete" />
</group>
<notebook colspan="4">
<page string="Outgoing">
<separator string="Server Information" colspan="4" />
<group colspan="4">
<field name="smtpserver" select="1" colspan="2" />
<field name="smtpport" select="2" colspan="2" />
<field name="smtpssl" select="2" colspan="2" />
<field name="smtptls" select="2" colspan="2" />
<group colspan="4" col="4">
<field name="smtpserver" select="1"/>
<field name="smtpport" select="2" />
<field name="smtpssl" select="2" />
<field name="smtptls" select="2" />
<field name="auto_delete" />
</group>
<button name="check_outgoing_connection" type="object" string="Test Outgoing Connection" />
<separator string="User Information" colspan="4" />