Item Group not showing in Sales Invoice Printing

Let’s say I have an Item named “LAPTOP - INSPIRON 15” under the Item Group “DELL”.
If I include this item in a Sales Invoice and try to print, it only shows the item name not the Item Group it belongs to? Is this an expected behaviour? If so, is there any way to change it so the print shows both the Item Name and the Item Group item belongs to?

Well you can edit the print format for the Sales Invoice.
Check the name of the print format in the Sales Invoice top left and then edit that print format to include the item group field in the print format.

Basically there are 2 ways to show a field in the print for Sales Invoice:
Easier Way:

  1. Add the field in the custom field and then in print format builder that field can be added to the print format.

Difficult way or coding way:

  1. Just edit the code of the print format to include the field and reference it from the item table directly even if the field is not in the sales invoice.

I guess you would be happy with first way I guess. Let me know if you were able to solve this problem at your end by marking it as resolved.