disable_edition_parent_scenario
Dylan Jeannin 2026-05-20 10:19:52 +02:00
parent 2dd9003721
commit 4d20c2457a
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class HydraulicStructure(SQLSubModel):
def _db_save(self, execute, data=None):
if not self.must_be_saved():
return True
execute(
"DELETE FROM hydraulic_structures " +
f"WHERE pamhyr_id = {self.pamhyr_id} " +