Hi guys, I’ve been trying to get this trigger working for a Purchase Invoice but it doesn’t seem to work. Basically it should print hello in the console once a row is added to the Purchase Invoice Items table. Any ideas?
frappe.ui.form.on(“Purchase Invoice Item”, “items_on_form_rendered”, function(frm, cdt, cdn) {
console.log(“hello”);
});