Hello;
I get notification when a comment is added on the document, but I need to know what was the content and I need to know some fields (like customer name and so on) for the document that a comment added to it.
For example:
If the document is task and there is customer field in it, I need to know the name of the customer. What I have to place in the email body of the notification?
I know that I can use doc.reference_doctype and doc.reference_name to know the doctype and the docname that the comment was added to it. But I need to know the customer name which is a field in that document, how to reach it? I need to be sent in the notification email.
Regards
Bilal