diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 011181ec7..5c4032635 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -1250,7 +1250,7 @@ class ProposicaoForm(forms.ModelForm): inst.texto_original: inst.texto_original.delete() inst.save() - import ipdb; ipdb.set_trace() + if receber_recibo == True or not inst.texto_original: inst.hash_code = '' else: