Disable mandatory field for standard field

using property settings you can hide these

If a field in an ERPNext doctype is marked mandatory, other documents may assume that field has a value. You can remove the mandatory setting with property setters, but that approach comes with risks. You may encounter errors or even crashes.

Instead of using property setters, it’s generally better to just set a default value and hide the field.

2 Likes