After migrating to the the latest v14 of ERPNext with India Compliance module installed, we are getting this error while trying to save Sales Invoice. Can someone point me the right direction to resolve this?
E-Invoice Status cannot be "Not Applicable". It should be one of "", "Pending", "Generated", "Cancelled", "Failed"
To fix this, you need to remove exported customizations for India Compliance app fields and run custom field creation again. You can use the terminal command for re-creating custom fields “bench execute india_compliance.gst_india.setup.create_custom_fields”.
As a quick fix, you can add the mentioned options to the e-invoice status field (Pending, Generated, AutoRetry, Cancelled, Manually Cancelled, Failed, Not Applicable). However, if there are customizations present, this fix will be reverted during migration.