Compare commits
2 Commits
4-add-home
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c77db82af | |||
| ff885646cb |
@ -39,7 +39,7 @@ class BaseQuerySet(models.QuerySet):
|
||||
"align": "",
|
||||
"encrypted": True,
|
||||
}
|
||||
ret[f"{field.name}__name"] = {
|
||||
ret[f"{field.name}__custom_identifier"] = {
|
||||
"text": f"{field.verbose_name.capitalize()} - Identifier",
|
||||
"align": "",
|
||||
"encrypted": True,
|
||||
|
||||
@ -96,7 +96,7 @@
|
||||
:items="linked_properties"
|
||||
:items_headers="linked_properties_headers"
|
||||
:items_relations="{'property': all_properties}"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier', 'item__name', 'item__custom_identifier']"
|
||||
:non_editable_fields="['item']"
|
||||
show_item="property"
|
||||
group_by="type"
|
||||
@ -113,7 +113,7 @@
|
||||
<ItemRelationList
|
||||
:items="children"
|
||||
:items_headers="children_headers"
|
||||
:hidden_fields="['parent__name']"
|
||||
:hidden_fields="['parent__name', 'parent__custom_identifier']"
|
||||
:items_relations="{'parent': [object], 'child': all_items}"
|
||||
group_by="type__name"
|
||||
@deleteItem="deleteRelation"
|
||||
@ -129,7 +129,7 @@
|
||||
<ItemRelationList
|
||||
:items="parents"
|
||||
:items_headers="children_headers"
|
||||
:hidden_fields="['child__name']"
|
||||
:hidden_fields="['child__name', 'child__custom_identifier']"
|
||||
:items_relations="{'child': [object], 'parent': all_items}"
|
||||
group_by="type__name"
|
||||
@deleteItem="deleteRelation"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
:items="linked_properties"
|
||||
:items_headers="linked_properties_headers"
|
||||
:items_relations="{'item': all_items, 'property': [object]}"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
|
||||
:non_editable_fields="[]"
|
||||
show_item="item"
|
||||
show_url="ItemDetail"
|
||||
@ -47,7 +47,7 @@
|
||||
:items="relation_properties"
|
||||
:items_headers="relation_properties_headers"
|
||||
:items_relations="{'item': all_items, 'property': [object]}"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
||||
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
|
||||
:non_editable_fields="[]"
|
||||
show_item="relation"
|
||||
show_url="ItemRelationDetail"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user