I have added a field names
Item DocType by Customize Form (Ctrl+J).
Purchase Receipt Items I want to make
quality_inspection field Mandatory if the field
Item added to
Purchase Receipt is checked.
For this I have set
Mandatory Depends On as follows
But this is not working and I am able to submit Purchase Receipt even if
quality_inspection field is empty.
How to solve this?