ERPNext custom server script ImportError: __import__ not found

Arbitrary imports are not allowed using Server Scripts. Moreover only following methods are available Server Script

If you are using a custom app then you can add additional methods to this list with jenv hook.

2 Likes