I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
I have one more question. If i place a hook like shooping cart, on_update, what would be called? My hook for validating or the original hook ou both (if both what is called first)?
Thanks.
Quinta-feira, 21 de Agosto de 2014 12:12:29 UTC+1, rushabh escreveu:
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
On 21-Aug-2014, at 4:58 PM, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer.
I have one more question. If i place a hook like shooping cart, on_update, what would be called? My hook for validating or the original hook ou both (if both what is called first)?
Thanks.
Quinta-feira, 21 de Agosto de 2014 12:12:29 UTC+1, rushabh escreveu:
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
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.
I just want to extend modules, for instance extend module ToDo and adapt to my needs or extend controllers. I like how erpnext are design, and i would like to change from openerp to erpnext but i need extend modules.
Quinta-feira, 21 de Agosto de 2014 16:27:39 UTC+1, rushabh escreveu:
Both will be called. Order is random.
What are you trying to achieve?
@rushabh_mehta
via mobile
On 21-Aug-2014, at 4:58 PM, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer.
I have one more question. If i place a hook like shooping cart, on_update, what would be called? My hook for validating or the original hook ou both (if both what is called first)?
Thanks.
Quinta-feira, 21 de Agosto de 2014 12:12:29 UTC+1, rushabh escreveu:
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
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.
On 22-Aug-2014, at 10:30 pm, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer again.
I just want to extend modules, for instance extend module ToDo and adapt to my needs or extend controllers. I like how erpnext are design, and i would like to change from openerp to erpnext but i need extend modules.
Quinta-feira, 21 de Agosto de 2014 16:27:39 UTC+1, rushabh escreveu:
Both will be called. Order is random.
Sorry the controller method will be called first, then the hook!
What are you trying to achieve?
@rushabh_mehta
via mobile
On 21-Aug-2014, at 4:58 PM, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer.
I have one more question. If i place a hook like shooping cart, on_update, what would be called? My hook for validating or the original hook ou both (if both what is called first)?
Thanks.
Quinta-feira, 21 de Agosto de 2014 12:12:29 UTC+1, rushabh escreveu:
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
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.
Thanks. I will see the code to see what can bi done!
Sábado, 23 de Agosto de 2014 9:46:14 UTC+1, rushabh escreveu:
On 22-Aug-2014, at 10:30 pm, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer again.
I just want to extend modules, for instance extend module ToDo and adapt to my needs or extend controllers. I like how erpnext are design, and i would like to change from openerp to erpnext but i need extend modules.
Quinta-feira, 21 de Agosto de 2014 16:27:39 UTC+1, rushabh escreveu:
Both will be called. Order is random.
Sorry the controller method will be called first, then the hook!
What are you trying to achieve?
@rushabh_mehta
via mobile
On 21-Aug-2014, at 4:58 PM, Luis Fernandes <lu...@gmail.com> wrote:
Thanks for your answer.
I have one more question. If i place a hook like shooping cart, on_update, what would be called? My hook for validating or the original hook ou both (if both what is called first)?
Thanks.
Quinta-feira, 21 de Agosto de 2014 12:12:29 UTC+1, rushabh escreveu:
On 21-Aug-2014, at 3:07 pm, Luis Fernandes <lu...@gmail.com> wrote:
I need help in extend doctype's. I know i can add columns to doctype, for example doctype ToDo. But i would like to add some functions in javascript and python (controllers) to extend the functionality of ToDo and adapted to my needs without change the original code of ToDo.
My question is: How can i add functionality to Doctype (for instead in controller) without change the original code? Or how can i make the framework to call my code before insert in Doctype field.
Same thing that we can do with openerp, make a module to extends funcionality and call the extended module with super for instead.
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.
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.