I need to change the fields Labels (Reading 1, Reading 2, Reading 3, …) in the Quality inspection readings document based on entered data in the parameter field in the same doc.
(custom script) how ?
Thanks.
HF
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I need to change the fields Labels (Reading 1, Reading 2, Reading 3, ....) in the Quality inspection readings document based on entered data in the parameter field in the same doc.
(custom script) how ?
Thanks.
HF
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
This is not possible unless you write a complex custom script to change the labels. There is such a script for Sales Order where we change the table headings based on currency.
I just tried this thing to change my labels in Item Page but I am unable to get the desired results, there is no error but the function is giving me a alert as desired but the Labels are not changing.
Now I have called the function to change the labels on line# 84 and the function to change the labels start from line# 298
Now the problem is that function is being called correctly and I am also able to see the correct labels in the ALERT message on line 307 and 308 but the actual labels of the field are unchanged....I know I am missing something but I am not able to find what?
On Monday, April 8, 2013 7:50:37 PM UTC+5:30, HF wrote:
Dear Nabin;
It works from first time,... well done Nabin it solves me a complicated problem.
Thanks.
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
cur_frm.set_df_property("fieldname", "label", "My Label")
Try it from your console first to check if it works.
best,
Rushabh
On Friday, April 25, 2014 1:31:12 PM UTC+5:30, Aditya Duggal wrote:
Hi Nabin,
I just tried this thing to change my labels in Item Page but I am unable to get the desired results, there is no error but the function is giving me a alert as desired but the Labels are not changing.
Now I have called the function to change the labels on line# 84 and the function to change the labels start from line# 298
Now the problem is that function is being called correctly and I am also able to see the correct labels in the ALERT message on line 307 and 308 but the actual labels of the field are unchanged....I know I am missing something but I am not able to find what?
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.