Coversion_rate field on Purchase Order form

Hi There,

I am just trying to figure out why conversion_rate field is hidden by default on Purchase Order form. According to DocType definition for Purchase Order, it is not supposed to be hidden by default. So just wondering if anyone can explain me why the field is hidden on the form when it is loaded for first time. This field seems to be visible when I chose a supplier whose currency is different than the default one setup in the system. Thanks in advance.

Kind regards,
Mayur Patel



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+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0745b565-5b17-47cc-b1d1-7ae79f219a60%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi Mayur,

It is hidden because if the Supplier's currency and Company's currency is same, the conversion_rate value will be set to 1 and there is no point in asking the user to edit it.

Thanks,
Anand.

On 24-Jun-2013, at 6:39 PM, MP <ma...@gmail.com> wrote:

Hi There,

I am just trying to figure out why conversion_rate field is hidden by default on Purchase Order form. According to DocType definition for Purchase Order, it is not supposed to be hidden by default. So just wondering if anyone can explain me why the field is hidden on the form when it is loaded for first time. This field seems to be visible when I chose a supplier whose currency is different than the default one setup in the system. Thanks in advance.

Kind regards,
Mayur Patel



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+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0745b565-5b17-47cc-b1d1-7ae79f219a60%40googlegroups.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+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/BE23552F-DC87-440F-B652-68DE0717A8BA%40erpnext.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Thanks Anand.

It makes sense. Do you know where this logic is set? This is just so that I know where it is happening and get a better understanding of the code.

On Monday, June 24, 2013 2:11:07 PM UTC+1, Anand Doshi wrote:

Hi Mayur,

It is hidden because if the Supplier’s currency and Company’s currency is same, the conversion_rate value will be set to 1 and there is no point in asking the user to edit it.

Thanks,
Anand.

On 24-Jun-2013, at 6:39 PM, MP <ma…@gmail.com> wrote:

Hi There,

I am just trying to figure out why conversion_rate field is hidden by default on Purchase Order form. According to DocType definition for Purchase Order, it is not supposed to be hidden by default. So just wondering if anyone can explain me why the field is hidden on the form when it is loaded for first time. This field seems to be visible when I chose a supplier whose currency is different than the default one setup in the system. Thanks in advance.

Kind regards,
Mayur Patel



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+un…@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/msgid/erpnext-developer-forum/0745b565-5b17-47cc-b1d1-7ae79f219a60%40googlegroups.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+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d1e7fbcb-93ef-4a8f-b9f4-f4e780c83715%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

See set_dynamic_labels method of purchase_common.js

Sent from my phone

On 24-Jun-2013, at 8:34 PM, MP <ma...@gmail.com> wrote:

Thanks Anand.

It makes sense. Do you know where this logic is set? This is just so that I know where it is happening and get a better understanding of the code.

On Monday, June 24, 2013 2:11:07 PM UTC+1, Anand Doshi wrote:
Hi Mayur,

It is hidden because if the Supplier's currency and Company's currency is same, the conversion_rate value will be set to 1 and there is no point in asking the user to edit it.

Thanks,
Anand.

On 24-Jun-2013, at 6:39 PM, MP <ma...@gmail.com> wrote:

Hi There,

I am just trying to figure out why conversion_rate field is hidden by default on Purchase Order form. According to DocType definition for Purchase Order, it is not supposed to be hidden by default. So just wondering if anyone can explain me why the field is hidden on the form when it is loaded for first time. This field seems to be visible when I chose a supplier whose currency is different than the default one setup in the system. Thanks in advance.

Kind regards,
Mayur Patel



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+un…@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/msgid/erpnext-developer-forum/0745b565-5b17-47cc-b1d1-7ae79f219a60%40googlegroups.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+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d1e7fbcb-93ef-4a8f-b9f4-f4e780c83715%40googlegroups.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+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/121A225F-ACCD-4FD1-ADBE-963EE6868BF8%40iwebnotes.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Thanks Anand. Much appreciated.

Kind regards,
Mayur Patel

On Monday, June 24, 2013 5:27:20 PM UTC+1, Anand Doshi wrote:

See set_dynamic_labels method of purchase_common.js

Sent from my phone

On 24-Jun-2013, at 8:34 PM, MP <ma…@gmail.com> wrote:

Thanks Anand.

It makes sense. Do you know where this logic is set? This is just so that I know where it is happening and get a better understanding of the code.

On Monday, June 24, 2013 2:11:07 PM UTC+1, Anand Doshi wrote:
Hi Mayur,

It is hidden because if the Supplier’s currency and Company’s currency is same, the conversion_rate value will be set to 1 and there is no point in asking the user to edit it.

Thanks,
Anand.

On 24-Jun-2013, at 6:39 PM, MP <ma…@gmail.com> wrote:

Hi There,

I am just trying to figure out why conversion_rate field is hidden by default on Purchase Order form. According to DocType definition for Purchase Order, it is not supposed to be hidden by default. So just wondering if anyone can explain me why the field is hidden on the form when it is loaded for first time. This field seems to be visible when I chose a supplier whose currency is different than the default one setup in the system. Thanks in advance.

Kind regards,
Mayur Patel



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+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0745b565-5b17-47cc-b1d1-7ae79f219a60%40googlegroups.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+un…@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/msgid/erpnext-developer-forum/d1e7fbcb-93ef-4a8f-b9f4-f4e780c83715%40googlegroups.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+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/9f5ec40e-6eec-4897-a7b6-ac4a3de3a673%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.