Error adding Taxes to Quotation

I am getting the following error when i try to add taxes to a new quotation.


Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up… all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property ‘Ageka SRL’ of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.
 



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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

 

 

Hi,

Do you have a custom script in quotation?

Thanks,
Anand.

On Jan 29, 2013 11:28 PM, "Hernan Gonzalez" <nu...@gmail.com> wrote:
I am getting the following error when i try to add taxes to a new quotation.

Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up... all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property 'Ageka SRL' of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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.

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

 

 

No, and the same thing happens in the Purchase order form.

On Tuesday, January 29, 2013 3:14:55 PM UTC-3, Anand Doshi wrote:

Hi,

Do you have a custom script in quotation?

Thanks,
Anand.

On Jan 29, 2013 11:28 PM, "Hernan Gonzalez" <nu...@gmail.com> wrote:
I am getting the following error when i try to add taxes to a new quotation.

Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up... all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property 'Ageka SRL' of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.
 



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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/msg/erpnext-developer-forum/-/hW5xf6ycsk4J.

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

 

 

I just tested this in demo.erpnext.com and the same thing happens.




On Tuesday, January 29, 2013 3:14:55 PM UTC-3, Anand Doshi wrote:

Hi,

Do you have a custom script in quotation?

Thanks,
Anand.

On Jan 29, 2013 11:28 PM, "Hernan Gonzalez" <nu...@gmail.com> wrote:
I am getting the following error when i try to add taxes to a new quotation.

Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up... all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property 'Ageka SRL' of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.
 



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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/msg/erpnext-developer-forum/-/jiPkw20fIxkJ.

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

 

 

Dear Hernan,

Thanks a lot for reporting this issue. It seems that there was a change in syntax which was not updated for get_currency method. I've fixed it. Please pull the latest changes.

Thanks,
Anand.

On 30-Jan-2013, at 12:04 AM, Hernan Gonzalez <nu...@gmail.com> wrote:

I just tested this in demo.erpnext.com and the same thing happens.



On Tuesday, January 29, 2013 3:14:55 PM UTC-3, Anand Doshi wrote:

Hi,

Do you have a custom script in quotation?

Thanks,
Anand.

On Jan 29, 2013 11:28 PM, "Hernan Gonzalez" <nu...@gmail.com> wrote:
I am getting the following error when i try to add taxes to a new quotation.

Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up... all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property 'Ageka SRL' of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.
 



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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/msg/erpnext-developer-forum/-/jiPkw20fIxkJ.

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.

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

 

 

Seems to work OK, 


Thanks a lot for the quick response.

On Tuesday, January 29, 2013 4:14:58 PM UTC-3, Anand Doshi wrote:
Dear Hernan,

Thanks a lot for reporting this issue. It seems that there was a change in syntax which was not updated for get_currency method. I’ve fixed it. Please pull the latest changes.

Thanks,
Anand.

On 30-Jan-2013, at 12:04 AM, Hernan Gonzalez <nu…@gmail.com> wrote:

I just tested this in demo.erpnext.com and the same thing happens.



On Tuesday, January 29, 2013 3:14:55 PM UTC-3, Anand Doshi wrote:

Hi,

Do you have a custom script in quotation?

Thanks,

Anand.

On Jan 29, 2013 11:28 PM, "Hernan Gonzalez" <nu...@gmail.com> wrote:
I am getting the following error when i try to add taxes to a new quotation.

Ageka SRL is the name of the company, the taxes used to load by default and now they are blank.

Starting up... all-app.min.js:3185
  1. Uncaught TypeError: Cannot read property 'Ageka SRL' of undefined all-app.min.js:3269
    1. erpnext.get_currencyall-app.min.js:3269
    2. cur_frm.cscript.calc_other_charges
    3. cur_frm.cscript.recalc
    4. cur_frm.cscript.calculate_charges
    5. (anonymous function)
    6. ajax_args.successall-app.min.js:323
    7. l.fireWithjquery.min.js:2
    8. d

And when this happens i cannot save the form with a TypeError {} message in the console.
 



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/msg/erpnext-developer-forum/-/jGW9xXwCjIMJ.

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/msg/erpnext-developer-forum/-/jiPkw20fIxkJ.

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/msg/erpnext-developer-forum/-/4bOKqBX0CdgJ.

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