For stakeholders who need visibility (a board member, an investor) but
should never be able to alter stock records -- confirmed the hard way
this was a real gap when reviewing Technician's default Stock User
access: nothing in that role actually prevented self-issuing stock,
which led to dropping Technician system accounts entirely in favor of
phone-based reporting through the Dispatcher instead.
Grants read/report/export/print (never create/write/submit/cancel/
delete/amend) on Stock Entry, Material Request, Serial No, Item,
Warehouse, and Stock Ledger Entry, plus adds the role to both the
Damage & Cost Report and Serial No Ledger report's own role lists --
cost/value figures included, not redacted, per explicit request.
Verified idempotent (two full provisioning runs against local dev) and
confirmed the exact permission flags directly against the live Custom
DocPerm records, not just the script's own print statements.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
Replaces fully-manual Desk UI click-through for Item Groups/Warehouses/
Items with three fillable CSV templates imported via Frappe's own Data
Import tool (New Data Import -> Insert New Records -> upload -> Start
Import) -- no code, no custom app, consistent with this project's
native-only philosophy.
Headers are not hand-typed or guessed: generated directly from this
exact ERPNext version's own Exporter class (the same code
download_template uses) via bench console against the running instance,
including the Item Reorder child table's "Field Label (Parent Table
Label)" column convention for Reorder Level/Qty -- confirmed by
inspecting Exporter.get_all_exportable_fields' source, since a
child-table key must be the parent's fieldname (reorder_levels), not the
child doctype name (Item Reorder), which silently produces zero columns
if gotten wrong.
Followed up from a user question about cloning a site as a template to
skip reprovisioning -- assessed as unclean (Setup Wizard's company data
can't be cleanly redone on a clone, template would need to stay
permanently free of demo/real data) and recommended templating Stage 6
instead, since it's just data entry, not Frappe system state.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
Native ERPNext/Frappe configuration (provisioning script, playbooks,
demo guides), the backend/ billing service (the one piece of custom
code), erpnext-image branding, backup/restore tooling, and
frappe_docker as a pinned submodule.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y