We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn’t allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
As far as I know that this direct change in the doctype would be removed as soon as there is any update in that particular DOCTYPE and that you can never know before updating.
So your field arrangement is good for updates till there is not update in the buying module or to be more precise in the doctype. I hope this answers your question and I also hope that I am right.
On Mon, Apr 29, 2013 at 7:02 PM, MP <ma...@gmail.com> wrote:
Hi,
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We strongly recommend moving fields around, at times fields are shown / hidden sequentially based on the "previous" field logic. Also we may push a new (better) ordering in future - so it will mess up any re-organization).
If you have a better suggestion for field ordering please let us know.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
I guess the way the rearrangement is done in the erpnext is OK but I guess the logic in the code is somewhat not correct and hence the problem of messed up ordering happens in case of an update or something.
I would request you people to let us know which part of the code handles the re-ordering of fields so that we could all understand the logic behind it and hopefully come up with a better solution, since currently the logic being used is something which needs improvement.
On Tuesday, April 30, 2013 10:07:35 AM UTC+5:30, rushabh wrote:
We strongly recommend moving fields around, at times fields are shown / hidden sequentially based on the “previous” field logic. Also we may push a new (better) ordering in future - so it will mess up any re-organization).
If you have a better suggestion for field ordering please let us know.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
How do I create a property setter? I haven’t done this before. Thanks.
Kind regards, Mayur Patel
On Monday, April 29, 2013 2:32:40 PM UTC+1, MP wrote:
Hi,
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn’t allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
How do I create a property setter? I haven't done this before. Thanks.
Kind regards, Mayur Patel
On Monday, April 29, 2013 2:32:40 PM UTC+1, MP wrote:
Hi,
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
You can also create from Toolbar --> New --> Property Setter
On 30-Apr-2013, at 1:04 PM, MP wrote:
Hi Anand,
How do I create a property setter? I haven't done this before. Thanks.
Kind regards, Mayur Patel
On Monday, April 29, 2013 2:32:40 PM UTC+1, MP wrote:
Hi,
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
You can have a look at how a doctype is loaded for the client side. Check webnotes/model/doctype.py get method.
You will need some proficiency in python to be able to understand this. For any help on python, you can have a look at http://docs.python.org/release/2.7/
Thanks,
Anand.
On 30-Apr-2013, at 10:52 AM, Aditya Duggal <ad...@gmail.com> wrote:
Hi Developers,
I guess the way the rearrangement is done in the erpnext is OK but I guess the logic in the code is somewhat not correct and hence the problem of messed up ordering happens in case of an update or something.
I would request you people to let us know which part of the code handles the re-ordering of fields so that we could all understand the logic behind it and hopefully come up with a better solution, since currently the logic being used is something which needs improvement.
On Tuesday, April 30, 2013 10:07:35 AM UTC+5:30, rushabh wrote:
We strongly recommend moving fields around, at times fields are shown / hidden sequentially based on the "previous" field logic. Also we may push a new (better) ordering in future - so it will mess up any re-organization).
If you have a better suggestion for field ordering please let us know.
We have a need to re-order the fields the way they appear for Item and other doctypes from Buying module. As I understand the current customise Form functionality doesn't allow re-ordering of the fields. I am able to re-order the fields the way we want by manipulating database table. My question is, is this okay to re-order fields at database level? Will it affect any of the functionality? Will I lose this ordering if I updated my ERPNext using ./wnf.py --update origin master command?
Kind regards, Mayur Patel
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.