#13 | Add relation to ToDo Doctype in dashboards information and create needed dashboards

This commit is contained in:
Jordi Albert 2022-09-05 15:54:28 +02:00
parent 0798926d24
commit db36f11633
5 changed files with 47 additions and 1 deletions

View 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']
}
]
}

View File

@ -9,6 +9,10 @@ def get_data():
{ {
'label': _('Objects'), 'label': _('Objects'),
'items': ['IP Address' ] 'items': ['IP Address' ]
},
{
'label': _('Processes'),
'items': ['ToDo' ]
} }
] ]
} }

View File

@ -13,7 +13,7 @@ def get_data():
}, },
{ {
'label': _('Processes'), 'label': _('Processes'),
'items': ['IT Contract'] 'items': ['IT Contract', 'ToDo']
} }
] ]
} }

View 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']
}
]
}

View 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']
}
]
}