Is there any method for getting doctype instance as HTML document..?

Hello all,

is there any method for getting doctype instance as HTML document…???
like for example

html=Document(‘Site’ ,‘SITE/001’)

html should be a html document, such that it can be attached and sent as mail directly. OR please suggest any alternatives to do so…

Thank you




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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

Run the standard print format generator function. It is client side and the output is in HTML.

(you will have to look at the framework code to for the function name, I can't recall what would it be in your version)


W: https://erpnext.com
T: @rushabh_mehta

On 31-Aug-2012, at 12:30 PM, Madhukar Bansode <ma...@indictranstech.com> wrote:

Hello all,

is there any method for getting doctype instance as HTML document..???
like for example

html=Document('Site' ,'SITE/001')

html should be a html document, such that it can be attached and sent as mail directly. OR please suggest any alternatives to do so..

Thank you





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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

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

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 post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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