Skip to content
Extraits de code Groupes Projets
Valider b0fd1532 rédigé par jordan's avatar jordan
Parcourir les fichiers

[update] add year to name/ref

parent 6692095e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -750,7 +750,8 @@ class Bordereau(models.Model): ...@@ -750,7 +750,8 @@ class Bordereau(models.Model):
'year': self.year, 'year': self.year,
'is_contribution': True, 'is_contribution': True,
'type_contribution_id': type_contribution, 'type_contribution_id': type_contribution,
'name': 'T' + str(cotiz_quarter) + ' - ' + type_contrib_name, 'name': 'T' + str(cotiz_quarter) + ' ' + self.year +
' - ' + type_contrib_name,
'journal_id': journal_id.id, 'journal_id': journal_id.id,
'state': 'draft', 'state': 'draft',
'account_id': account_id.id, 'account_id': account_id.id,
......
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