--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/bfc37fd6-a0ff-484e-826b-44b087410aa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi, Satish, look this post https://groups.google.com/d/msg/erpnext-user-forum/PxTzy9_7Lg8/M3T-nZ-UBlQJ
2014-04-03 2:10 GMT-03:00 Satish <satishgu...@gmail.com>:
Dear All,Is it possible that a custom image field be created in Sales Order Item for which we can add an image while creating Sales Order?This would be useful where the products are engineer to order and a generic item has been created. At the time of finalization of order we could attach the image file just for reference. This particular image may not be useful for any further orders and remains specific to the Sales Order only.RegardsSatish
--
You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/bfc37fd6-a0ff-484e-826b-44b087410aa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
// for description from attachment// takes the first attachment and creates// a table with both image and attachment in HTML// in the "alternate_description" fieldcur_frm.cscript.add_image = function(doc, dt, dn) {if(!doc.image) {msgprint(wn._('Please select an "Image" first'));return;}doc.description_html = repl('<table style="width: 100%; table-layout: fixed;">'+'<tr><td style="width:110px"><img src="%(imgurl)s" width="100px"></td>'+'<td>%(desc)s</td></tr>'+'</table>', {imgurl: wn.utils.get_file_link(doc.image), desc:doc.description});refresh_field('description_html');}Do you think this would work for me, with some changes?RegardsSatish