But just an additional information, this error is happening before load my javascript.
above my code.
Please, if there’s any better way to do what I’m trying to do, let me know. I’m a js developer, but I don’t know so well the frappe framework, so I’m using the resources that I have.
frm.set_value("academic_term", "33 Weeks (25 Course / 8 Holidays)");
frm.set_value("fee_structure", frm.doc.student_program.substr(0, frm.doc.student_program.length - 1));
msgprint(__("Please, complete the fee structure field with the name of the school to complete the amount price."));
nome = frm.doc.student_name;
program = frm.doc.student_program;