Is it possible to convert the voucher no field in Stock Ledger Entry Table to a Link Field?

Hi,


I have noticed that the stock ledger report which has the voucher number from different documents is not a link field would it be possible to make that field a link field.



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/msgid/erpnext-developer-forum/45a0378b-93d4-4b4f-9200-64e42d1f4a33%40googlegroups.com?hl=en.

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

 

 

Aditya, Its a major design change - not possible in the short run.


On Mon, May 27, 2013 at 2:56 AM, Addy <ad...@rigpl.com> wrote:
Hi,

I have noticed that the stock ledger report which has the voucher number from different documents is not a link field would it be possible to make that field a link field.



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/msgid/erpnext-developer-forum/45a0378b-93d4-4b4f-9200-64e42d1f4a33%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CANn8SWJLRi8RFYykEeW0F18LsetrV4%2Bf7tntri5JHkHhpgUkDQ%40mail.gmail.com?hl=en.

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

 

 

Hi Aditya,

The Stock Ledger report under Stock > Main Reports does provide an option to go to that record (a shortcut arrow).

Are you talking about a custom report?

Thanks,
Anand.

On 27-May-2013, at 11:08 AM, Rushabh Mehta <rm...@gmail.com> wrote:

Aditya, Its a major design change - not possible in the short run.


On Mon, May 27, 2013 at 2:56 AM, Addy <ad...@rigpl.com> wrote:
Hi,

I have noticed that the stock ledger report which has the voucher number from different documents is not a link field would it be possible to make that field a link field.



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/msgid/erpnext-developer-forum/45a0378b-93d4-4b4f-9200-64e42d1f4a33%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CANn8SWJLRi8RFYykEeW0F18LsetrV4%2Bf7tntri5JHkHhpgUkDQ%40mail.gmail.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/E2DFFB7B-F2CD-4896-91B6-CB3DF94A4024%40erpnext.com?hl=en.

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

 

 

I was talking about a custom report...and I guess it is not possible in the short run as Rushabh suggested


On Mon, May 27, 2013 at 11:39 AM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Aditya,

The Stock Ledger report under Stock > Main Reports does provide an option to go to that record (a shortcut arrow).

Are you talking about a custom report?

Thanks,
Anand.

On 27-May-2013, at 11:08 AM, Rushabh Mehta <rm...@gmail.com> wrote:


Aditya, Its a major design change - not possible in the short run.


On Mon, May 27, 2013 at 2:56 AM, Addy <ad…@rigpl.com> wrote:

Hi,

I have noticed that the stock ledger report which has the voucher number from different documents is not a link field would it be possible to make that field a link field.




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/msgid/erpnext-developer-forum/45a0378b-93d4-4b4f-9200-64e42d1f4a33%40googlegroups.com?hl=en.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CANn8SWJLRi8RFYykEeW0F18LsetrV4%2Bf7tntri5JHkHhpgUkDQ%40mail.gmail.com?hl=en.

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.


To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/E2DFFB7B-F2CD-4896-91B6-CB3DF94A4024%40erpnext.com?hl=en.


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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAEmKBHxGanWjjtfcGM9nxgkYPeVoZRxjeVgK5uNnqA8R7kzV9Q%40mail.gmail.com?hl=en.

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

 

 

Hi Anand,


I would like to know if adding the link field, as per the Main Reports —> Stock Ledger in say like a script report, would be possible or not and if possible then how to define the same.

The sample code from the Stock Ledger main report is:

{id: “voucher_no”, name: “Voucher No”, field: “voucher_no”, width: 160,
link_formatter: {
filter_input: “voucher_no”,
open_btn: true,
doctype: “dataContext.voucher_type”
}},

Is it possible to do something like this in python, that is, script report.



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/msgid/erpnext-developer-forum/4d69f59d-e853-4319-bc63-ea9876970327%40googlegroups.com.

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

 

 

Hi Aditya,

Check Gross Profit Report: https://github.com/webnotes/erpnext/blob/master/accounts/report/gross_profit/gross_profit.py#L36

Gross Profit report is based on Delivery Note or Sales Invoice with update stock checked. For this we had to provide links to Delivery Note or Sales Invoice, depending on the source. 
We have added an icon to act as a link. This also ensures a clean export of the report.

-Anand.

On 22-Jun-2013, at 10:04 AM, Addy <ad...@rigpl.com> wrote:

Hi Anand,

I would like to know if adding the link field, as per the Main Reports ---> Stock Ledger in say like a script report, would be possible or not and if possible then how to define the same.

The sample code from the Stock Ledger main report is:

{id: "voucher_no", name: "Voucher No", field: "voucher_no", width: 160,
link_formatter: {
filter_input: "voucher_no",
open_btn: true,
doctype: "dataContext.voucher_type"
}},

Is it possible to do something like this in python, that is, script report.



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/msgid/erpnext-developer-forum/4d69f59d-e853-4319-bc63-ea9876970327%40googlegroups.com.

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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/A609220F-E73D-43C7-B01A-1E095570F90A%40erpnext.com.

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