diff --git a/models/scop_cotisation_idf.py b/models/scop_cotisation_idf.py index 2604d4c6b763866229149d0af96f5305a0790589..8cbc3418346501c45a4e8553133838cc7c4f391c 100644 --- a/models/scop_cotisation_idf.py +++ b/models/scop_cotisation_idf.py @@ -24,7 +24,7 @@ class ScopCotisationsIDF(models.Model): ) journal = fields.Char("Journal") 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") type = fields.Selection( [ diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py index f88249eea48c996ba2a84cc64f268f774d2758a4..1aabfde9e3b46d7c1316deb3705779a8ac34853c 100644 --- a/report/scop_contribution_report.py +++ b/report/scop_contribution_report.py @@ -60,7 +60,7 @@ class ScopContributionReport(models.Model): lambda p: { "date": p.writing_date, "name": p.name, - "ref": p.piece, + "ref": p.acc_doc, "credit": p.credit, } )