I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
This is difficult to say without debugging it using some print statements or breakpoints.
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
But I understand that this happens because the doctype does not exist in locals
However, I thought that modify webnotes.model.meta , whatever sufiente to enable loading of the fields automatically, but realized that there's something missing!
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
Hence, here you can raise exception if the number of rows exceeds 1 in the doclist and also remove the newly added row from the doclist.
Thanks,
Anand.
On Wed, Dec 18, 2013 at 12:40 AM, Maxwell Morais <ma…@gmail.com> wrote:
Anand, when you says:
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
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.
But I understand that this happens because the doctype does not exist in locals
However, I thought that modify webnotes.model.meta , whatever sufiente to enable loading of the fields automatically, but realized that there's something missing!
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
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.
But I understand that this happens because the doctype does not exist in locals
However, I thought that modify webnotes.model.meta , whatever sufiente to enable loading of the fields automatically, but realized that there's something missing!
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
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.
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.
But I understand that this happens because the doctype does not exist in locals
However, I thought that modify webnotes.model.meta , whatever sufiente to enable loading of the fields automatically, but realized that there's something missing!
Have you instead, tried to use a table field and restrict the number of rows to just 1. You won't need to create a whole new sub-form widget!
Are you referring to a custom script to handle this?
Thanks,
Anand.
On Tue, Dec 17, 2013 at 8:19 PM, Maxwell Morais <ma...@gmail.com> wrote:
Hello, All!
I’m trying to create a new widget called Form for my instance of ERPNext, the functionality of it is the same as Table, with the exception that it points only to a single child (would be a one-to-one).
I have already created the code of the widget, and changes in DocField, and webnotes.model.meta.get_link_fields and webnotes.model.meta.get_table_fields
But when I try to fetch the fields in the browser using wn.meta.get_docfields ('Address'), the response I have is none, exists somewhere to r, for this to work?
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.
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.
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.
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.
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.
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.