bench --site silerptest2.palmtecamphibia.com install-app india_compliance
App erpnext already installed
Installing india_compliance…
Incompatible Frappe Version:
Frappe version 15.27.0 not compatible with India Compliance 16.0.0.dev0
Please switch to version 16 of Frappe to use the current version of India Compliance.
NCP
May 16, 2024, 8:31am
2
Please check it.
For now, If you want to install the latest india_compliance (v15.7.4) then frappe must be in the 15.3.0 and erpnext must be in the 15.19.3. so I think, you should update the erpnext.
VERSIONS_TO_COMPARE = [
{
"app_name": "Frappe",
"current_version": version.parse(frappe.__version__),
"required_versions": {"version-14": "14.57.0", "version-15": "15.3.0"},
},
{
"app_name": "ERPNext",
"current_version": version.parse(erpnext.__version__),
…
I’ve shared a suggestion:
If you’ve installed Frappe/ERPNext in version 15, make sure the India Compliance is also in version 15 to prevent errors.
If the India Compliance is in the development branch, switch to it:
bench switch-to-branch version-15 https://github.com/resilient-tech/india-compliance.git
If you’ve uninstalled or installed the app, do this:
bench get-app --branch version-15 https://github.com/resilient-tech/india-compliance.git
This is because the india_compliance app has a version 15 branch.
I hope this is clear and helpful.
1 Like