|
|
@@ -8,8 +8,11 @@ def execute(): |
|
|
|
""" |
|
|
|
|
|
|
|
frappe.reload_doc("core", "doctype", "feedback_request") |
|
|
|
frappe.db.sql("""update tabCommunication set content=ifnull(feedback, "feedback details not provided") |
|
|
|
where communication_type="Feedback" and content is NULL""") |
|
|
|
frappe.reload_doc("core", "doctype", "communication") |
|
|
|
|
|
|
|
if frappe.db.has_column('Communication', 'feedback'): |
|
|
|
frappe.db.sql("""update tabCommunication set content=ifnull(feedback, "feedback details not provided") |
|
|
|
where communication_type="Feedback" and content is NULL""") |
|
|
|
|
|
|
|
frappe.db.sql(""" update tabCommunication set sender_full_name="" where communication_type="Feedback" |
|
|
|
and sender_full_name='Guest None' """) |
|
|
|