diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index c5ed2a8f..8a4065a8 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1529,6 +1529,10 @@ class BaseProprietaire(BaseClasseCrans): # Destruction machines m.delete(comment) + for f in self.factures(): + # Destruction factures + f.delete(comment) + self._delete(self.dn, comment) try: