Files
computer-playbook/tests/unit/python
kevinveenbirkenbachandClaude Opus 5.5 c68b9833bf fix(web-app-erpnext): grant the API bot Script Manager when server scripts are on
Frappe v16 limits the Server Script doctype to the Script Manager role and ServerScript.validate calls frappe.only_for('Script Manager'), so services.erpnext.server_scripts: true still left every integration on erpnext-api-bot with 403 Insufficient Permission for Server Script. The same switch now grants the bot Script Manager when true and revokes it when false; System Manager stays, the save runs only on a change, and an undeclared value fails before the site is touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:07:26 +01:00
..
…