Add HR setup scripts and Pakistan-specific Employee custom fields - #8
Open
hamad-clustox wants to merge 1 commit into
Open
hamad-clustox wants to merge 1 commit into
hamad-clustox wants to merge 1 commit into
Conversation
Ship the Pakistan-specific Employee fields (CNIC, CNIC expiry, father/husband name, religion, nationality) as fixtures so they install on migrate, and add a setup/ directory with idempotent, secret-free scripts for repeatable deployment: - import/ employee xlsx -> JSON and load (company, departments, payroll) - users/ provision linked login accounts; grant admin roles - attendance/ device-id mapping, holidays, flexible shift, one-time backfill - attendance_sync/ live biometric -> Frappe check-in sync service (systemd) No secrets or PII are committed: device IP/comm key, API keys, passwords, and employee data live only in git-ignored config on the deploy host. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
hrms/fixtures/custom_field.json(wired viahooks.py), so they install automatically onbench migrate.setup/directory — idempotent, secret-free scripts for repeatable deployment of a Clustox HR site:import/— employee xlsx→JSON and load (company, departments, payroll)users/— provision linked login accounts; grant admin rolesattendance/— device-id mapping, holidays, flexible shift, one-time backfillattendance_sync/— live biometric→Frappe check-in sync service (systemd)Safety
No secrets or PII are committed. Device IP/comm key, API keys, passwords, and employee data live only in git-ignored config on the deploy host. Committed scripts use placeholders.
Notes
docker/changes and internal ops docs are intentionally not included.setup/README.mdfor run order and the production hardening checklist.🤖 Generated with Claude Code