Skip to content
Extraits de code Groupes Projets

12 rv info non coop

2 files
+ 14
11
Comparer les modifications
  • Côte à côte
  • En ligne

Fichiers

+ 5
4
@@ -76,10 +76,11 @@ class ScopDecesWizard(models.TransientModel):
[('partner_id', '=', period.partner_id),
('end', '=', False)])
for adh in adh_period:
adh.write({
'end': period.end,
'end_reason_id': motif.id
})
if(adh.end==False):
adh.write({
'end': period.end,
'end_reason_id': motif.id
})
else:
raise ValidationError(
Chargement en cours