Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

AttributeError: 'NoneType' object has no attribute 'compact_item_print' - In Delivery note

From last 2 days, started getting this error whenever I click on the print button in the delivery note. I all other docs, the print button is working properly, but only in the delivery note whenever I try to view the print, it gives an error. I have even checked ‘Compact Item Print’ in Print Setting. Still no change, no matter I check it on or off, the error persists.

I even tried adding a custom field, but as we cant add custom fields in doctype, was not able to resolve the error

Awaiting your help