Error adding Taxes to Quotation

12 views
Skip to first unread message

Hernan Gonzalez

unread,
Jan 29, 2013, 12:58:34 PM1/29/13
to erpnext-dev...@googlegroups.com
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.
 

Anand Doshi

unread,
Jan 29, 2013, 1:14:55 PM1/29/13
to ERPNext Developer's Forum

Hi,

Do you have a custom script in quotation?

Thanks,
Anand.

--
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/-/jGW9xXwCjIMJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Hernan Gonzalez

unread,
Jan 29, 2013, 1:26:09 PM1/29/13
to erpnext-dev...@googlegroups.com
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" <nuco....@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+unsub...@googlegroups.com.

Hernan Gonzalez

unread,
Jan 29, 2013, 1:34:55 PM1/29/13
to erpnext-dev...@googlegroups.com
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" <nuco....@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+unsub...@googlegroups.com.

Anand Doshi

unread,
Jan 29, 2013, 2:14:58 PM1/29/13
to erpnext-dev...@googlegroups.com
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.

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.

Hernan Gonzalez

unread,
Jan 29, 2013, 2:20:58 PM1/29/13
to erpnext-dev...@googlegroups.com
Seems to work OK, 

Thanks a lot for the quick response.
Reply all
Reply to author
Forward
0 new messages