Added hierarchy_links utility
This commit is contained in:
parent
bdd149749e
commit
60ef008c58
5 changed files with 156 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue