fix(minor): set name for Event Producer Last Update

This commit is contained in:
Rushabh Mehta 2020-10-26 13:22:38 +05:30
parent 625ab74883
commit 8bd98e6272
2 changed files with 5 additions and 4 deletions

View file

@ -88,7 +88,7 @@ class EventProducer(Document):
if not last_update_doc_name:
frappe.get_doc(dict(
doctype = 'Event Producer Last Update',
event_producer = self.name,
event_producer = self.producer_url,
last_update = last_update
)).insert(ignore_permissions=True)
else:

View file

@ -12,9 +12,10 @@
"fields": [
{
"fieldname": "event_producer",
"fieldtype": "Link",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Event Producer",
"options": "Event Producer",
"reqd": 1,
"unique": 1
},
{
@ -26,7 +27,7 @@
"in_create": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2020-10-26 12:59:33.112423",
"modified": "2020-10-26 13:22:27.056599",
"modified_by": "Administrator",
"module": "Event Streaming",
"name": "Event Producer Last Update",