Skip to content
Snippets Groups Projects
Commit 47c17513 authored by Hervé Silvant - CGScop's avatar Hervé Silvant - CGScop
Browse files

Apply suggestion to wizard/scop_deces_wizard.py

parent def530db
No related branches found
No related tags found
2 merge requests!412.0 rv ajout champ et reorg contact,!112.0 rv consentement defaut
......@@ -68,8 +68,7 @@ class ScopDecesWizard(models.TransientModel):
# On procède à la radiation à la même date
#..........................................
# Lecture du motif de radiation type décès
motif = self.env['scop.membership.reason.end'].search([
('name', '=', 'Mort économique')], limit=1)
motif = self.env.ref('cgscop_partner.reason_end_membership_5')
# Mise à jour des périodes d'adhésions
if motif:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment