Valid Exchange Rate Error

Just added a Github Issue #501 Valid Exchange Rate Error.


I am makin a purchase recipt and getting the following error “Please enter valid Exchange Rate: 1 ARS = [?] ARS” wich is kind of dumb.

This are the currency parameters (Screenshot):

currency

This is the console error:

Cleared App Cache. all-app.min.js:156
Starting up… all-app.min.js:2752
Traceback (innermost last):
File “…/lib/webnotes/widgets/form/save.py”, line 36, in savedocs
getattr(wrapper, action.lower())()
File “…/lib/webnotes/model/bean.py”, line 281, in save
self.run_method(‘validate’)
File “…/lib/webnotes/model/bean.py”, line 218, in run_method
getattr(self.obj, method)()
File “…/app/stock/doctype/purchase_receipt/purchase_receipt.py”, line 101, in validate
super(DocType, self).validate()
File “…/app/controllers/buying_controller.py”, line 38, in validate
self.validate_conversion_rate(“currency”, “conversion_rate”)
File “…/app/controllers/buying_controller.py”, line 103, in validate_conversion_rate
raise_exception=True)
File “…/lib/webnotes/init.py”, line 135, in msgprint
raise ValidationError, msg
ValidationError: Please enter valid Exchange Rate: 1 ARS = [?] ARS
all-app.min.js:307
Please enter valid Exchange Rate: 1 ARS = [?] ARS



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

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

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

 

 

Hi Hernan

Clear the currency field, click outside and enter the currency again. It should fix it temporarily. 

Sent from my phone

On 19-Jun-2013, at 7:00 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

Just added a Github Issue #501 Valid Exchange Rate Error.

I am makin a purchase recipt and getting the following error "Please enter valid Exchange Rate: 1 ARS = [?] ARS" wich is kind of dumb.

This are the currency parameters (Screenshot):

currency

This is the console error:

Cleared App Cache. all-app.min.js:156
Starting up... all-app.min.js:2752
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
getattr(wrapper, action.lower())()
File "../lib/webnotes/model/bean.py", line 281, in save
self.run_method('validate')
File "../lib/webnotes/model/bean.py", line 218, in run_method
getattr(self.obj, method)()
File "../app/stock/doctype/purchase_receipt/purchase_receipt.py", line 101, in validate
super(DocType, self).validate()
File "../app/controllers/buying_controller.py", line 38, in validate
self.validate_conversion_rate("currency", "conversion_rate")
File "../app/controllers/buying_controller.py", line 103, in validate_conversion_rate
raise_exception=True)
File "../lib/webnotes/__init__.py", line 135, in msgprint
raise ValidationError, msg
ValidationError: Please enter valid Exchange Rate: 1 ARS = [?] ARS
all-app.min.js:307
Please enter valid Exchange Rate: 1 ARS = [?] ARS



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@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 User’s Forum” group.

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

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

 

 

OK, it worked but with the following issue,


When i cleared the suppliers currency field another field appeared "Exchange Rate (1 = [?] ARS)" with a value of 100,0, 
i had to put 1 in that field and select the currency again for it to work.



On Wednesday, June 19, 2013 10:36:42 AM UTC-3, Anand Doshi wrote:
Hi Hernan

Clear the currency field, click outside and enter the currency again. It should fix it temporarily. 

Sent from my phone

On 19-Jun-2013, at 7:00 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

Just added a Github Issue #501 Valid Exchange Rate Error.

I am makin a purchase recipt and getting the following error "Please enter valid Exchange Rate: 1 ARS = [?] ARS" wich is kind of dumb.

This are the currency parameters (Screenshot):

currency

This is the console error:

Cleared App Cache. all-app.min.js:156
Starting up... all-app.min.js:2752
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
getattr(wrapper, action.lower())()
File "../lib/webnotes/model/bean.py", line 281, in save
self.run_method('validate')
File "../lib/webnotes/model/bean.py", line 218, in run_method
getattr(self.obj, method)()
File "../app/stock/doctype/purchase_receipt/purchase_receipt.py", line 101, in validate
super(DocType, self).validate()
File "../app/controllers/buying_controller.py", line 38, in validate
self.validate_conversion_rate("currency", "conversion_rate")
File "../app/controllers/buying_controller.py", line 103, in validate_conversion_rate
raise_exception=True)
File "../lib/webnotes/__init__.py", line 135, in msgprint
raise ValidationError, msg
ValidationError: Please enter valid Exchange Rate: 1 ARS = [?] ARS
all-app.min.js:307
Please enter valid Exchange Rate: 1 ARS = [?] ARS



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@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 User’s Forum” group.

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

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