Change the table header in the item table print format

Hi there,

I try to change the “Sr” column name in the item table of the print formats. I guess there are ways to change the labels of other columns but how can I change the Sr without having to write my own item table format?

Thanks and nice weekend for you…

I don’t think there is a configurable way of doing it yet.

Oops, seems its not translated either. Will push a fix later.

@rmehta Is this fixed? I want to change the translation too. Also the amount of the item table. Thanks.

@Robert1112 can you check? Maybe send a Pull Request?

@rmehta Hi Thanks for your reply. Where should I check? And what does pull mean? I am not a technical. Sorry for the stupid question. thanks,

@Robert1112 just checked. The issue has been fixed.

@rmehta Hi I run ERPNext using Bitnami image on Google Cloud platform. Does it mean I need to update my ERPNext version? Thanks.


How we can change Table header only in Print out for items table

Looking for the same +1

{%- for row in doc.items -%}
            <td style="width: 3%;">{{ row.idx }}</td>
            <td style="width: 20%;">
                {{ row.item_name }}
                {% if row.item_code != row.item_name -%}
                <br>Item Code: {{ row.item_code}}
                {%- endif %}
            <td style="width: 37%;">
                <div style="border: 0px;">{{ row.description }}</div></td>
            <td style="width: 10%; text-align: right;">{{ row.qty }} </td>
            <td style="width: 15%; text-align: right;">{{
            <td style="width: 15%; text-align: right;">{{
        {%- endfor -%}
ID Material Description Quantity (PCS) Rate(AED) Amount(AED)

Please try this code

Where to add this code

In standard format itself Replace the Items table and Add Custom HTML and insert this query