How to Make a Mandatory Field Not to be Mandatory

Good day,
In subscription plan there is a field called Item (item), i want to make this field non mandatory. Which i have managed by doing with the code below. But my problem is that if i click save i get the error Error: Value missing for Subscription Plan: Item

frappe.ui.form.on('Subscription Plan', {
	setup: function(frm) {
        frm.set_df_property('item', 'reqd', 0);

Hi @imbra,

I think, the custom script does not work but you check the post and try it.
Maybe it works for you.

Thank You!