Commit c3147125 authored by Romain Courteaud's avatar Romain Courteaud

slapos_rss_style: return Bulletin / Site Message

parent f39f932e
...@@ -30,7 +30,8 @@ def getTicketInfo(event, web_site): ...@@ -30,7 +30,8 @@ def getTicketInfo(event, web_site):
return getTicket_memo[follow_up] return getTicket_memo[follow_up]
follow_up_portal_type = ['Support Request', 'Regularisation Request', follow_up_portal_type = ['Support Request', 'Regularisation Request',
'Upgrade Decision', 'Subscription Request'] 'Upgrade Decision', 'Subscription Request',
'Bulletin']
follow_up_simulation_state = [ follow_up_simulation_state = [
'validated','submitted', 'suspended', 'invalidated', 'validated','submitted', 'suspended', 'invalidated',
...@@ -41,7 +42,7 @@ follow_up_simulation_state = [ ...@@ -41,7 +42,7 @@ follow_up_simulation_state = [
data_list = [] data_list = []
for brain in portal.portal_catalog( for brain in portal.portal_catalog(
# Limit only to listable portal types # Limit only to listable portal types
portal_type=['Web Message', 'Mail Message'], portal_type=['Web Message', 'Mail Message', 'Site Message'],
simulation_state=('started', 'stopped', 'delivered'), simulation_state=('started', 'stopped', 'delivered'),
limit=list_lines, limit=list_lines,
sort_on=(('stock.date', 'desc'), sort_on=(('stock.date', 'desc'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment