Skip to content
Snippets Groups Projects
Commit d2d037a3 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[UPD] add indus and ICD to contribution type

parent 27d9914f
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ class ResPartner(models.Model):
if self.ur_id in [
self.env.ref("cgscop_partner.riga_14232"),
self.env.ref("cgscop_partner.riga_14243"),
self.env.ref("cgscop_partner.riga_14231"),
]:
contribution_type.append(self.env.ref("cgscop_partner.riga_14399"))
if self.is_federation_com:
......@@ -28,4 +29,6 @@ class ResPartner(models.Model):
# TODO: Mettre à jour avec is_federation_cae après la maj des périodes par la CG
if self.cae:
contribution_type.append(self.env.ref("cgscop_partner.cotiz_fede_cae"))
if self.is_federation_indus:
contribution_type.append(self.env.ref("cgscop_partner.cotiz_fede_indus"))
return contribution_type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment