endi.plugins.sap_urssaf3p.views.admin.sap package

Submodules

endi.plugins.sap_urssaf3p.views.admin.sap.avance_immediate module

class endi.plugins.sap_urssaf3p.views.admin.sap.avance_immediate.SAPAvanceImmediateView(context, request=None)

Bases : BaseAdminFormView

add_template_vars = ('help_msg',)
before(form)

Performs some processing on the form prior to rendering.

By default, this method does nothing. Override this method in your dervived class to modify the form. Your function will be executed immediately after instansiating the form instance in __call__() (thus before obtaining widget resources, considering buttons, or rendering).

children = []
description = "Configurer l'avance immédiate de l'URSSAF"
help_msg = "\nConfigurez le compte bancaire sur lequel les encaissements automatiques\nliés à l'avance immédiate de l'URSSAF seront affectés\n"
keys = ['urssaf3p_payment_bank_id', 'urssaf3p_automatic_payment_creation']
route_name = '/admin/sap/avance_immediate'
schema = <endi.plugins.sap_urssaf3p.forms.admin.sap.SapAvanceImmediateConfigSchema object at 140624256289488 (named )>

Colander schema instance to be used to create the form instance. Provide your schema in your derived class.

submit_success(appstruct)
title = 'Avance immédiate'
validation_msg = "L'avance immédiate SAP a bien été configurée"
endi.plugins.sap_urssaf3p.views.admin.sap.avance_immediate.includeme(config)

Module contents