Default values

55 views
Skip to first unread message

Joseph Siame

unread,
Mar 11, 2013, 3:48:31 AM3/11/13
to erpnext-dev...@googlegroups.com
Hi

I set some default values in some of the fields in various forms, like default warehouses, currency, price lists etc. but for some reason only some of some of them seem to appear.

Is there a way maybe i could reset all my alterations to default values or a work around from using customize form function in the Setup module.

Thanks
Joseph

Nabin Hait

unread,
Mar 11, 2013, 4:55:53 AM3/11/13
to erpnext-dev...@googlegroups.com
Hi Joseph,

Default values can be mentioned in different places and those are applied in predefined order. "Client Side Script" gets highest priority, followed by default mentioned in "Global Defaults", "Customize Forms" and "DocType".
That's why, default values are not appearing in the form, even if you mentioned it in "Customize Forms".
To reset all the customized default values, you can delete "Property Setter" record for them. You can access "Property Setter" list, using "#!List/Property Setter" from the url.

Regards,
Nabin Hait

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/I1vBiYXduagJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

thatdu...@gmail.com

unread,
Mar 11, 2013, 7:47:37 AM3/11/13
to erpnext-dev...@googlegroups.com
Hi 

Thanks. That worked fine. Another question Is there a way to change the position of fields in a form e.g. Switch item code and item name position? 

Thanks 

Nabin Hait

unread,
Mar 11, 2013, 8:00:48 AM3/11/13
to erpnext-dev...@googlegroups.com
You can create a new "Property Setter" directly with "Property" as "previous_field".


Regards,
Nabin Hait

Joseph Siame

unread,
Mar 11, 2013, 10:46:55 AM3/11/13
to erpnext-dev...@googlegroups.com
Hi

Again that seemed to work on only for some of the fields. How can i make use of client side scripting in this case to hide the fields i want?

Is there a way a customer can make a part payment after issuing of the sales invoice and during the payment voucher? That can the payment voucher record half payment for a product and keep it open until the full payment has been settled?

Thanks
Joseph


Regards,
Nabin Hait


Regards,
Nabin Hait

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/I1vBiYXduagJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

To post to this group, send email to erpnext-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

Nabin Hait

unread,
Mar 11, 2013, 12:37:48 PM3/11/13
to erpnext-dev...@googlegroups.com
For hiding a field based on some condition, check following link:

You can make a part payment against a sales invoice. Make payment entry (JV), by entering amount in two separate line, one of them against invoice. Check following links:


Regards,
Nabin Hait

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

To post to this group, send email to erpnext-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages