I would like to know if there is another way of integrate client side script in a core doctype instead of custom scripts.
I mean, to write a little script it is ok, but a medium script it is not.
I constantly copy and past from my ide to the space of custom script.
Can i make something like this?:
<% include path/to/my/script/somefile.js %>
In this particular case i'm trying to do some custom script in Customer doctype.
Thanks.
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
It shall auto add <script> tag around wrote script. If it is your include js, i'm afraid the browse will just take it as a txt instead of script.
I didn't try. you can see custom script sample https://erpnext.com/user-guide/customize-erpnext/custom-scripts/custom-script-examples
在 2014年9月19日星期五UTC+8上午2时09分13秒,Luis Fernandes写道:
I Erpnext Team.
I would like to know if there is another way of integrate client side script in a core doctype instead of custom scripts.
I mean, to write a little script it is ok, but a medium script it is not.
I constantly copy and past from my ide to the space of custom script.
Can i make something like this?:
<% include path/to/my/script/somefile.js %>
In this particular case i'm trying to do some custom script in Customer doctype.
Thanks.
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
In this particular case i'm trying to do some custom script in Customer doctype.
Thanks.
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Thank you both. I will try second option of rushabh. It seems the perfect option for what i want.
Quinta-feira, 18 de Setembro de 2014 19:09:13 UTC+1, Luis Fernandes escreveu:
I Erpnext Team.
I would like to know if there is another way of integrate client side script in a core doctype instead of custom scripts.
I mean, to write a little script it is ok, but a medium script it is not.
I constantly copy and past from my ide to the space of custom script.
Can i make something like this?:
<% include path/to/my/script/somefile.js %>
In this particular case i'm trying to do some custom script in Customer doctype.
Thanks.
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.