mirror of
https://github.com/itsdave-de/msp.git
synced 2025-05-06 07:25:13 +02:00
#13 | Add relation to ToDo Doctype in dashboards information and create needed dashboards
This commit is contained in:
parent
0798926d24
commit
db36f11633
14
msp/msp/doctype/ip_address/ip_address_dashboard.py
Normal file
14
msp/msp/doctype/ip_address/ip_address_dashboard.py
Normal file
@ -0,0 +1,14 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
'heatmap': False,
|
||||
'fieldname': 'ip_address',
|
||||
'transactions': [
|
||||
{
|
||||
'label': _('Processes'),
|
||||
'items': ['ToDo']
|
||||
}
|
||||
]
|
||||
}
|
@ -9,6 +9,10 @@ def get_data():
|
||||
{
|
||||
'label': _('Objects'),
|
||||
'items': ['IP Address' ]
|
||||
},
|
||||
{
|
||||
'label': _('Processes'),
|
||||
'items': ['ToDo' ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ def get_data():
|
||||
},
|
||||
{
|
||||
'label': _('Processes'),
|
||||
'items': ['IT Contract']
|
||||
'items': ['IT Contract', 'ToDo']
|
||||
}
|
||||
]
|
||||
}
|
||||
|
14
msp/msp/doctype/it_object/it_object_dashboard.py
Normal file
14
msp/msp/doctype/it_object/it_object_dashboard.py
Normal file
@ -0,0 +1,14 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
'heatmap': False,
|
||||
'fieldname': 'it_object',
|
||||
'transactions': [
|
||||
{
|
||||
'label': _('Processes'),
|
||||
'items': ['ToDo']
|
||||
}
|
||||
]
|
||||
}
|
14
msp/msp/doctype/it_user_account/it_user_account_dashboard.py
Normal file
14
msp/msp/doctype/it_user_account/it_user_account_dashboard.py
Normal file
@ -0,0 +1,14 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
'heatmap': False,
|
||||
'fieldname': 'it_user_account',
|
||||
'transactions': [
|
||||
{
|
||||
'label': _('Processes'),
|
||||
'items': ['ToDo']
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user