File path comments

I need to make a change in the ‘Add a comment’ file, which is in all doctypes, as shown below.

But I don’t know what is the name of the file to make these changes, can you help me?

This come from Frappe App

frappe/public/js/frappe/form/controls/comment.js

Can you tell me if it is possible to make changes to this compo by client script?

You should be able to, for one particular doctype. To make the override stick for all doctypes, you’ll have to import the js via an app.

1 Like