Is it possible to add coments from py file & also can i add history which appears at the end of the page?
You can add comment from js file using
frm.timeline.insert_comment(“Comment”, “Comment string”)
u can use Workflow to update history
frm.timeline.insert_comment(“Workflow”, “history details”);
No idea about py file.commants are stored in _comments field of doctype table