Print Format doc is broken/not loading properly

Yesterday i was attempting to edit a Print format. I had to go into the sales order item doc and add a field. Believe somehow the doc customization page loaded the sales order item and “crossed wires” with the new print format doctype, which shouldn’t be editable. So now i can’t seem to get it to revert back to what it should be. Attached is a screen shot of what i am looking at.

Ok Managed to fix this,
What happend,
5 Property Setters are mangling the Print Format DocType itself.

Look at the values:

  • istable = 1

  • editable_grid = 1

  • plus a massive field_order list that clearly belongs to Sales Order Item, not Print Format

So ERPNext now thinks Print Format is a child table, and the form renderer shows a grid-like blank shell → exactly what you’re seeing.

Just need to delete those Property Setters and reload.
Edited it through python and Bam! fixed. Took a hot minute to figure out the issue though. Really strange that it happenned.

1 Like