Hi @usmanalikhan,
Please check it.
$(document).on('app_ready', function() {
$.each(["Opportunity", "Quotation", "Supplier Quotation",
"Sales Invoice", "Delivery Note", "Sales Order",
"Purchase Invoice", "Purchase Receipt", "Purchase Order"], function(i, doctype) {
frappe.ui.form.on(doctype, {
refresh: function(frm) {
var timestamps = $(".frappe-timestamp");
timestamps.each(function(index, element) {
var timestamp = $(element).data("timestamp");
$(element).text(timestamp);
});
}
});
});
});