hi all,
i need to insert all modification to an issue, and your custom filed, to time line.
Example: i have a custom field, check box, named “Accept”
When a user check this and save, the custom script write on timeline “Mario - 1 minutes ago check”
this write a comment on all refresh of page, and not only i write in a field and save the issue
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/comment.py”, line 19, in validate_comment
if doc.comment_type==“Comment” and “” not in doc.content:
TypeError: argument of type ‘NoneType’ is not iterable
frappe.ui.form.on("Issue", {
descrizione_analisi: function(frm) {
// this function is called when the value of descrizione_analisi is changed.
frm.timeline.insert_comment("Comment", frm.doc.descrizione_analisi);
}
});
in my case print in comment the entire content of text field “descrizione_analisi”