frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.05k stars 7.21k forks source link

Invalid "depends_on" expression on many module after restore the site #36702

Closed QuakeString closed 1 year ago

QuakeString commented 1 year ago

Information about bug

I've taken backup(db/privte-files/public-files/site-config) of my site from prvious installatin which was as normal installation. Then erpnext was Production Branch Version - 14.26 or so ( not remember exactly. Now I've install erpnext on docker (Production branch version-14) as per official guide. and restore my previous site. Most of the things works but few things does not.

  1. Sales Invoice form does not appear, its just blank 2023-08-17_23-43_1
  2. There is error on address module, Item module, Invalid "depends_on" expression 2023-08-17_23-44 2023-08-17_23-43
  3. I've tried to update using bench update --reset it does output a error. Screenshot_20230817_161725
  4. I've tried to installed the same system in another server, and got exactly same result.

Module

accounts, selling, HR

Version

erpnext 14.34.3
frappe 14.44.0
hrms 14.10.0
india_compliance 14.15.1
payments 0.0.1
whitelabel 0.0.1

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

No response

deepeshgarg007 commented 1 year ago

@QuakeString This looks like some customization issue, closing this

shamsi2u commented 1 year ago

have same error

QuakeString commented 1 year ago

have same error

as @deepeshgarg007 replied, it is customization error cause by India_Compliance. and I see there is is depends on field of "Item-get_hsn_code" when I removed that code, I can add item, but still the issue of invoice form not showing up is persist, and India_compliance dev told me it may be issue of js & CSS so bench build may fix it, but once I did that, my complete site got broken and now its looks like as 2nd pic

2023-10-08_06-54

2023-10-08_08-23