Sales invoice error “TypeError Cannot set properties of null (Setting ‘isDisabled’)” at the time of editing item line

Issue: Not able to edit added item line or add a new line. Error displayed “TypeError Cannot set properties of null (Setting ‘isDisabled’)”

Solution: The issue was seen only in a specific custom form and not standard forms. On analyzing, the error was due to a field being missing that was used in the tax bundle script. On checking with different fields, it was found that the field is ‘Apply TCS’. On showing the field in the form, the error was resolved.

Leave a comment

Your email address will not be published. Required fields are marked *