Cancel expense claim error | IntegrityError: (1048, u"Column ‘claimed_amount’ cannot be null")

any update

There is some field called Claimed Amount and the traceback shows that this value cannot be empty, so feed the correct value. Just a simple entry error that’s all.

Can you share the version of your erpnext app

it is already had value

As a temporary fix (although not ideal), you could try something similar to this

1 Like

Your erpnext app version is 10.1.37, where as current stable erpnext version is v10.1.54. You need to update your erpnext app to v10.1.54 to fix this issue

2 Likes

Hi @rohit_w

Trust you’re doing great. We are encountering the same issue:

ERPNext: v10.1.64 (master)
Frappe Framework: v10.1.56 (master)

Please advise

Kind regards,

Hi @wale

Can you check the employee_advance.json file has the field claimed_amount or not, if the field is there then just changed the modified date to today’s date and run the “bench --site your_site_name migrate” command

Hi @rohit_w

Thanks for your response. The claimed_amount field is present in the employee_advance.json

I updated the modified date and ran the bench migrate command as advised but the error persists!

Any suggestions pls?

Hi @wale

The same field is available in the doctype employee advance?

Hi @rohit_w

Are you referring to js or py file? Please clarify

Thanks

Hi @rohit_w

In case you were referring to the DocType list, yes the field is in Employee Advance. It is a Currency type field with options set as Company:company:default_currency

Hi @rohit_w

Trust you’re doing great. Any update here please? We really need a fix

Thanks

Still awaiting a response on this please!

Thanks

Hi @rohit_w

Trust you’re doing well. Really need some feedback on this. It’s affecting our operations significantly!

Thanks

Sent fix for this issue

1 Like

Many thanks @rohit_w

I hope this gets merged asap

Kind regards,

It’s been merged and the issue is resolved

Thanks again @rohit_w

1 Like