[fix] erreur condition ecriture file d'attente

parent 749fa822
......@@ -81,7 +81,7 @@ class ScopPartnerExtranet(models.Model):
# Gestion de l'envoie à Drupal si un de champs suivi
# est modifié
if intersection:
if intersection and not vals.get('active_model'):
for partner in self:
# gestion organisme ou partenaire
if partner.is_company:
......@@ -101,7 +101,7 @@ class ScopPartnerExtranet(models.Model):
elif (not partner.is_company
and partner.type == 'contact'):
# update si actif
if partner.active and partner.extranet_access:
if partner.active:
'partner_id': partner.id,
'action': 'drupal_refresh_user',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment