From d4c9b764df61b1c4cf0ab157872955da8bc4525f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 21 Oct 2017 13:36:18 +0200 Subject: [PATCH] update to new workflow categories (#3405) --- auquotidien/modules/abelium_domino_workflow.py | 2 +- auquotidien/modules/clicrdv.py | 4 ++-- auquotidien/modules/payments.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auquotidien/modules/abelium_domino_workflow.py b/auquotidien/modules/abelium_domino_workflow.py index f1be0a7..144470b 100644 --- a/auquotidien/modules/abelium_domino_workflow.py +++ b/auquotidien/modules/abelium_domino_workflow.py @@ -23,7 +23,7 @@ class AbeliumDominoRegisterFamilyWorkflowStatusItem(WorkflowStatusJumpItem): status = None description = N_('Abelium Domino: Register a Family') key = 'abelium-domino-register-family' - category = ('aq-abelium', N_('Abelium')) + category = 'interaction' label = None def render_as_line(self): diff --git a/auquotidien/modules/clicrdv.py b/auquotidien/modules/clicrdv.py index 3beae71..f718da9 100644 --- a/auquotidien/modules/clicrdv.py +++ b/auquotidien/modules/clicrdv.py @@ -183,7 +183,7 @@ class AppointmentErrorPart(object): class ClicRdvCreateAppointment(WorkflowStatusItem): description = N_('Create a ClicRDV Appointment') key = 'clicrdv-create' - category = ('aq-clicrdv', N_('ClicRDV')) + category = 'interaction' endpoint = False @@ -312,7 +312,7 @@ register_item_class(ClicRdvCreateAppointment) class ClicRdvCancelAppointment(WorkflowStatusItem): description = N_('Cancel a ClicRDV Appointment') key = 'clicrdv-cancel' - category = ('aq-clicrdv', N_('ClicRDV')) + category = 'interaction' endpoint = False diff --git a/auquotidien/modules/payments.py b/auquotidien/modules/payments.py index a1ad8c4..3b272e8 100644 --- a/auquotidien/modules/payments.py +++ b/auquotidien/modules/payments.py @@ -209,7 +209,7 @@ class PaymentWorkflowStatusItem(WorkflowStatusItem): description = N_('Payment Creation') key = 'payment' endpoint = False - category = ('aq-payment', N_('Payment')) + category = 'interaction' support_substitution_variables = True subject = None @@ -303,7 +303,7 @@ class PaymentCancelWorkflowStatusItem(WorkflowStatusItem): description = N_('Payment Cancel') key = 'payment-cancel' endpoint = False - category = ('aq-payment', N_('Payment')) + category = 'interaction' reason = None regie_id = None @@ -449,7 +449,7 @@ class PaymentValidationWorkflowStatusItem(WorkflowStatusItem): description = N_('Payment Validation') key = 'payment-validation' endpoint = False - category = ('aq-payment', N_('Payment')) + category = 'interaction' next_status = None -- 2.15.0.rc1