diff --git a/synchro_orleans/data/models.py b/synchro_orleans/data/models.py index 5b5512b..9dd5d62 100644 --- a/synchro_orleans/data/models.py +++ b/synchro_orleans/data/models.py @@ -158,7 +158,8 @@ class FactureManager(models.Manager): 'ON_PRELEVAUTO_INS': 'prelevement_automatique', 'DAT_DEBUT_PGE': 'debut_pge', 'DAT_FIN_PGE': 'fin_pge', - 'ID_PYR': 'id_payeur_par_defaut' + 'ID_PYR': 'id_payeur_par_defaut', + 'DAT_REGLEMENT': 'date_reglement' } def synchronize(self, source_file): @@ -332,6 +333,7 @@ class Facture(models.Model): active = models.BooleanField(default = False) statut_tipi = models.CharField(max_length=16, blank=True, null=True) date_reponse_tipi = models.DateTimeField(null=True, blank=True) + date_reglement = models.DateTimeField(null=True, blank=True) id_payeur_par_defaut = models.CharField(max_length=128, null=True, blank=True) date_envoi_dernier_mail = models.DateTimeField(null=True, blank=True)