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

20 views
Skip to first unread message

Madhukar Bansode

unread,
Aug 31, 2012, 3:00:36 AM8/31/12
to erpnext-dev...@googlegroups.com
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


Rushabh Mehta

unread,
Aug 31, 2012, 3:14:09 AM8/31/12
to erpnext-dev...@googlegroups.com
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

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@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.
 
 

Reply all
Reply to author
Forward
0 new messages