field storing invoice payment date added

This commit is contained in:
Serghei Mihai 2014-09-24 11:00:58 +02:00
parent 3794543426
commit 1de71cc181
1 changed files with 3 additions and 1 deletions

View File

@ -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)