Skip to content

Commit

Permalink
fix: unhide uom and stock_uom fields in print view
Browse files Browse the repository at this point in the history
(cherry picked from commit 11cd163)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Aug 10, 2023
1 parent a864e07 commit b49309c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erpnext/controllers/print_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ def set_print_templates_for_item_table(doc, settings):
}
}

if doc.meta.get_field("items"):
doc.meta.get_field("items").hide_in_print_layout = ["uom", "stock_uom"]

doc.flags.compact_item_fields = ["description", "qty", "rate", "amount"]

if settings.compact_item_print:
Expand Down

0 comments on commit b49309c

Please sign in to comment.