Hello Sir, I have added a custom field “Progress Status” in sales order and kept data type as “Data” which show progress bar of the status in graphical form. I have added following code which set following data in custom field “Progress Status”. <div style=‘height: 20px; background-color: white; width:100%;’> <div id=‘progress_bar’ style=‘height:20px;color:white;text-align: center;background-color: green; width:60%;’></div></div>
When i added Progress Status in report it show status of each sales order in graphical form respectively. After that i have made changes because i want to add % of status completed on status progress bar for which i have added the following code
It also works fine but when i see report it give me a following error
Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild] and the report only shows one record.
So i have remove the field progress status from report and the report shows correct output. So i want to know whether there is some mistake in my code or this is a bug. I have also attach screen shot regarding to this issue.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
At this point, I must ask you to fork the repository on GitHub and commit your changes first. It is too much mental effort to do guess work from what you have explained in your mail.
Also we would like to incorporate this in the product if you pull it off :)
Hello Sir, I have added a custom field "Progress Status" in sales order and kept data type as "Data" which show progress bar of the status in graphical form. I have added following code which set following data in custom field "Progress Status".
<div style='height: 20px; background-color: white; width:100%;'> <div id='progress_bar' style='height:20px;color:white;text-align: center;background-color: green; width:60%;'></div></div>
When i added Progress Status in report it show status of each sales order in graphical form respectively. After that i have made changes because i want to add % of status completed on status progress bar for which i have added the following code
It also works fine but when i see report it give me a following error
Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild] and the report only shows one record.
So i have remove the field progress status from report and the report shows correct output. So i want to know whether there is some mistake in my code or this is a bug. I have also attach screen shot regarding to this issue.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.