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.
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.
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.
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.
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.
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.
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.