[REF] event: remove group_mail_scheduling as email scheduling is part of event management

In the interface using the email scheduler of events is limited to a group
that is not activated by default. However by default emails are sent and
therefore cannot be configured by the event maanger.

As managers should always be able to configure sent emails we decided to
remove the group and always give access to the email scheduling tab of the
event form view.
This commit is contained in:
Thibault Delavallée
2016-08-19 15:49:37 +02:00
parent df216b6bfe
commit 274e94d715
4 changed files with 1 additions and 13 deletions
@@ -26,12 +26,6 @@ class event_config_settings(models.TransientModel):
(0, "Manually confirm every registration")
], "Auto Confirmation",
help='Unselect this option to manually manage draft event and draft registration')
group_email_scheduling = fields.Selection([
(0, "No automated emails"),
(1, 'Schedule emails to attendees and subscribers')
], "Email Scheduling",
help='You will be able to configure emails, and to schedule them to be automatically sent to the attendees on registration and/or attendance',
implied_group='event.group_email_scheduling')
module_event_barcode = fields.Boolean("Scan badges to confirm attendances",
help="Install the event_barcode module")
-5
View File
@@ -19,11 +19,6 @@
<field name="groups_id" eval="[(4,ref('event.group_event_manager'))]"/>
</record>
<record id="group_email_scheduling" model="res.groups">
<field name="name">Schedule Emails on Event Registration</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
</data>
<data noupdate="1">
@@ -16,7 +16,6 @@
<field name="module_website_event_track" widget="radio"/>
<field name="module_website_event_questions" widget="radio"/>
<field name="auto_confirmation" widget="radio"/>
<field name="group_email_scheduling" widget="radio"/>
<label for="id" string="Barcode Interface"/>
<div class="o_row">
<field name="module_event_barcode" widget="upgrade_boolean"/>
+1 -1
View File
@@ -118,7 +118,7 @@
</group>
</group>
</page>
<page string="Email Schedule" groups="event.group_email_scheduling">
<page string="Email Schedule">
<group>
<field name="reply_to"/>
</group>