add sender to outgoing mails (#3374)
This commit is contained in:
parent
442a5f4352
commit
89f840bd81
|
@ -183,6 +183,10 @@ class IDmsOutgoingMail(IDmsDocument):
|
|||
title=_(u"Internal Reference Number"),
|
||||
required=False, )
|
||||
|
||||
sender = ContactChoice(
|
||||
title=_(u'Sender'),
|
||||
required=False)
|
||||
|
||||
recipients = ContactList(
|
||||
title=_(u'Recipients'),
|
||||
required=True)
|
||||
|
@ -192,6 +196,7 @@ class IDmsOutgoingMail(IDmsDocument):
|
|||
required=False,
|
||||
portal_types=('dmsincomingmail',))
|
||||
|
||||
form.order_before(sender='treating_groups')
|
||||
form.order_before(recipients='treating_groups')
|
||||
form.order_before(mail_date='treating_groups')
|
||||
form.order_before(internal_reference_no='treating_groups')
|
||||
|
|
Reference in New Issue