Report


  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

 
<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%;’>20</div></div> [Note:added 20 only]

 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.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/WGWvD_JEhKcJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Rohit,

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 :)

best,
Rushabh




On Sat, Apr 6, 2013 at 7:12 PM, Rohit Waghchaure <ro...@indictranstech.com> wrote:

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


<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%;'>20</div></div> [Note:added 20 only]

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.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/WGWvD_JEhKcJ.

For more options, visit https://groups.google.com/groups/opt_out.














You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.