Conversation
Seed 45 sarabun.document.sequence records (one per KMITL issuing unit, prefix อว 7000–7037) and 121 sarabun.position records covering all organisational units — institute level through faculty, college, office, campus, and hospital — with empty holder_ids for admin assignment. All records are noupdate=1 and reference hr.department via kmitl_demo.
- Drop required=True on sender_department_id (sequence install must not depend on hr.department XML IDs from an external demo module) - Replace ref="kmitl_demo.XX" with search by name in both data files; departments link automatically when found, stay blank otherwise
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.
Summary
data/sarabun_document_sequence_data.xml: 45sarabun.document.sequencerecords (one per KMITL issuing unit, prefixes อว 7000–7037) seeded from the provided CSV, allnoupdate=1withkmitl_demodepartment refs.data/sarabun_position_data.xml: 121sarabun.positionrecords covering every organisational unit — institute level (อธิการบดี, รองอธิการบดี 5 ด้าน), all 15 sub-offices under สำนักงานอธิการบดี, 13 faculties, 3 colleges, 6 offices/institutes, วิทยาเขต, โรงพยาบาล, สภา, KOSEN, and 42 บางกอก — with emptyholder_idsfor admin assignment.noupdate=1; departments referencekmitl_demo.*(requireskmitl_demoinstalled); records whose department name differs or has no match are annotated withTODOcomments.