Added hierarchy_links utility

This commit is contained in:
absurdo 2024-03-01 01:04:06 +01:00
parent bdd149749e
commit 60ef008c58
5 changed files with 156 additions and 2 deletions

View file

@ -156,9 +156,14 @@ class GenerateAdminClass:
if post==None or post==False:
if item_id=='0':
self.model.model_id=0
post={}
else:
return ""
else:
self.model.model_id=int(item_id)
url_action=add_get_parameters(self.url, op_admin=2, id=item_id)