[FIX] mass_mailing : renaming date GroupBy filters

Since modification on the group by filter on date field,
a forced value like group by date:month doesn't work anymore.
the user can choose the period but the forced value is not selected
when activating the group by.

Anyway, as it is more convenient to let the user choose the period
he wants to group by, the following groupby filters have been renamed
and the forced value have been removed.
In Mailings menu > Group By menu: rename 'Sent Month' by 'Sent Period'
In Mainling Lists > Group By menu: rename 'Creation Month' by 'Creation Period'
In Reporting > Group By menu: rename 'Scheduled Month' by 'Scheduled Perdiod'
This commit is contained in:
David Beguin
2018-08-24 16:52:02 +02:00
parent a86381831b
commit bda6d60b8e
2 changed files with 5 additions and 5 deletions
@@ -43,8 +43,8 @@
<filter string="Sent By" domain="[]" name="sent_by"
context="{'group_by':'email_from'}"/>
<separator/>
<filter string="Scheduled Month" name="scheduled_month"
domain="[]" context="{'group_by':'scheduled_date:month'}"/>
<filter string="Scheduled Period" name="scheduled_date"
domain="[]" context="{'group_by':'scheduled_date'}"/>
</group>
</search>
</field>
@@ -277,7 +277,7 @@
<field name="is_public"/>
<filter name="inactive" string="Archived" domain="[('active','=',False)]"/>
<group expand="0" string="Group By">
<filter string="Creation Month" name="group_create_date"
<filter string="Creation Period" name="group_create_date"
context="{'group_by': 'create_date'}"/>
</group>
</search>
@@ -448,8 +448,8 @@
<filter string="Sent By" name="sent_by" domain="[]"
context="{'group_by':'email_from'}"/>
<separator/>
<filter string="Sent Month" name="sent_month"
domain="[]" context="{'group_by':'sent_date:month'}"/>
<filter string="Sent Period" name="sent_date"
domain="[]" context="{'group_by':'sent_date'}"/>
</group>
</search>
</field>