Skip to content
Extraits de code Groupes Projets
Valider 52f6a59f rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[FIX] field name and type error

parent 561a40f6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -24,7 +24,7 @@ class ScopCotisationsIDF(models.Model): ...@@ -24,7 +24,7 @@ class ScopCotisationsIDF(models.Model):
) )
journal = fields.Char("Journal") journal = fields.Char("Journal")
writing_date = fields.Date("Date écriture") writing_date = fields.Date("Date écriture")
piece = fields.Integer("Numéro de pièce comptable") acc_doc = fields.Char("Numéro de pièce comptable")
year = fields.Char("Année") year = fields.Char("Année")
type = fields.Selection( type = fields.Selection(
[ [
......
...@@ -60,7 +60,7 @@ class ScopContributionReport(models.Model): ...@@ -60,7 +60,7 @@ class ScopContributionReport(models.Model):
lambda p: { lambda p: {
"date": p.writing_date, "date": p.writing_date,
"name": p.name, "name": p.name,
"ref": p.piece, "ref": p.acc_doc,
"credit": p.credit, "credit": p.credit,
} }
) )
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter