Exemplo n.º 1
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification(
         'webinar_2days_reminder', u'2 day until webinar starts')
     NotificationTypesRegister.register_notification(
         'webinar_has_record', u'Webinar has record')
     NotificationTypesRegister.register_notification(
         'webinar_link_to_record_changed',
         u'Webinar link to record changed')
     NotificationTypesRegister.register_notification(
         'webinar_registration', u'Webinar registration')
     NotificationTypesRegister.register_notification(
         'webinar_today_reminder', u'Webinar starts today')
Exemplo n.º 2
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification(
         'crm_reassignrequest_accepted', '', app_name=self.name)
     NotificationTypesRegister.register_notification(
         'crm_reassignrequest_rejected', '', app_name=self.name)
     NotificationTypesRegister.register_notification(
         'crm_reassignrequest_new', '', app_name=self.name)
Exemplo n.º 3
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification('user_registered', _('User registered'),
                                                     app_name=self.name)
     NotificationTypesRegister.register_notification('Password_changed', _('Password successfully changed'),
                                                     app_name=self.name)
Exemplo n.º 4
0
    def ready(self):
        from notification.models import NotificationTypesRegister

        NotificationTypesRegister.register_notification(
            'callback_request', u'Callback request')
Exemplo n.º 5
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification(
         'friend_recommendation', u'Friend recomendation')
Exemplo n.º 6
0
    def ready(self):
        import payments.models
        from project.modeltranslate import model_translate
        payments.models.PaymentCategory = model_translate('name')(
            payments.models.PaymentCategory)
        payments.models.PaymentMethod = model_translate(
            'name', 'commission', 'processing_times',
            'link')(payments.models.PaymentMethod)

        from notification.models import NotificationTypesRegister
        NotificationTypesRegister.register_notification(
            'deposit_needs_verification', u'Deposit need verification')
        NotificationTypesRegister.register_notification(
            'deposit_request_committed', u'Deposit request committed')
        NotificationTypesRegister.register_notification(
            'deposit_request_created', u'Deposit request created')
        NotificationTypesRegister.register_notification(
            'deposit_request_failed', u'Deposit request failed')
        NotificationTypesRegister.register_notification(
            'withdraw_processing_in_finance',
            u'Withdraw processing in finance')
        NotificationTypesRegister.register_notification(
            'withdraw_processing_transfer_ready',
            u'Withdraw processing transfer ready')
        NotificationTypesRegister.register_notification(
            'withdraw_processing_verified', u'Withdraw processing verified')
        NotificationTypesRegister.register_notification(
            'withdraw_request_committed', u'Withdraw request committed')
        NotificationTypesRegister.register_notification(
            'withdraw_request_created', u'Withdraw request created')
        NotificationTypesRegister.register_notification(
            'withdraw_request_failed', u'Withdraw request failed')
Exemplo n.º 7
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification(
         'report_generation_failed', u'Report generation failed')
     NotificationTypesRegister.register_notification(
         'report_has_been_generated', u'Report generation finished')
Exemplo n.º 8
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification(
         'manual_transfer_submitted', u'Internal transfer issue created')
Exemplo n.º 9
0
    def ready(self):
        from notification.models import NotificationTypesRegister
        NotificationTypesRegister.register_notification('account_created', u'Account created')
        NotificationTypesRegister.register_notification('leverage_change', u'Leverage changed')
        NotificationTypesRegister.register_notification('password_recovery', u'Password recovered')
        NotificationTypesRegister.register_notification('realib_account_created', u'real IB account created')
        NotificationTypesRegister.register_notification('real_pro_account_created', u'real ECN.PRO account created')
        NotificationTypesRegister.register_notification('real_MT_account_created', u'real MT4 account created')
        NotificationTypesRegister.register_notification('real_invest_account_created', u'real ECN.Invest account created')
        NotificationTypesRegister.register_notification('demo_pro_account_created', u'demo ECN.PRO account created')
        NotificationTypesRegister.register_notification('demo_MT_account_created', u'demo MT4 account created')
        NotificationTypesRegister.register_notification('demo_invest_account_created', u'demo ECN.Invest account created')
        NotificationTypesRegister.register_notification('apllication_for_invest_created', u'Application for open ECN.Invest account')


        import platforms.signals
Exemplo n.º 10
0
 def ready(self):
     from notification.models import NotificationTypesRegister
     NotificationTypesRegister.register_notification('account_unblock', u'Account unblock')
     NotificationTypesRegister.register_notification('account_unblock_rejected', u'Account unblock rejected')
     NotificationTypesRegister.register_notification('checkdocument_issue', u'Checking documents')
     NotificationTypesRegister.register_notification('internaltransfer_issue', u'Internal transfer done')
     NotificationTypesRegister.register_notification('internaltransfer_reject', u'Internal transfer rejected')
     NotificationTypesRegister.register_notification('user_issue', u'Support request')
     NotificationTypesRegister.register_notification('document_verified', u'Document verified')
     NotificationTypesRegister.register_notification('documen_rejected', u'Documents rejected')
     NotificationTypesRegister.register_notification('invest_approved', u'Approved possibility to open Invest accounts')