-
Imagine I delete a cover related to a manhole, I want to recreate it specifing its But in this case, even I have only one cover related to this manhole, it doesen't appear in Cover created at the same time as the manhole Cover created after the manhole So how can I specify my unique cover as main cover? |
Beta Was this translation helpful? Give feedback.
Answered by
sjib
Aug 13, 2024
Replies: 1 comment 3 replies
-
You have to manually set the fk_main_cover in class wastewater_structure. There is no UI face yet for that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It already exists:
wastewater/datamodel/app/symbology_functions.sql
Line 290 in 93f00d1
You can run that tww_app.wastewater_structure_update_fk_main_cover manually
_all is a bool variable. The function can be called
tww_app.wastewater_structure_update_fk_main_cover (NULL, True)
to update all ortww_app.wastewater_structure_update_fk_main_cover (obj_id)
to update a specific entry.See also #264