ERPNext Conference 2019* ERPNext.com Blog

How can i delete 'Sr' column from the items table!


#1

Hi there,

I want to delete the “Sr” column in the item table of the print formats. And is there a way to change the labels of other columns without changing it from the customize form because i want to change it only for the print format any help?

Thanks and nice weekend for you


#2

Hi @Elie use custom print format.


#3

hi @Denmark_Del_Puso,
Is there anyway to do it without using custom print format, because i want just to delete the “Sr” column?
Thanks for your help.


#4

I had the same. Why don’t you just do a translation from Dr to say Line ? This works for me fine


#5

hi guys

I don’t know if you need to solve this yet but I found a simple way to hide the field (in fact work for every field you want).

You only need this custom css
table th.table-sr { display: none; }
table td.table-sr { display: none; }

I hope this help someone else too.

Best Regards.


#6

Hello,

Thank you for the script, but it remove the sr column. What should I do if I just want rename it to No?
Any suggestion?

Best Regards,
Enggar


#7

@cloudeater To rename Sr column you have to use Custom print Format.


#8

Yes, I already made it. But I haven’t found the correct script yet to rename it.


#9

Can you Share Your script.


#10

I am sorry, you mean by custom print format is I have to make a report using html script right?
I design the report using customize menu, not using script


#11

@cloudeater Yes