feat(meeting-room): Meeting Room + Booking DocTypes (TETRA-2191) #167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/TETRA-2191-meeting-room-doctypes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mục tiêu
Thêm 3 DocType cho tính năng Phòng họp (TETRA-2191) — nguồn data + logic ghi cốt lõi. TETRA trở thành thin BFF (proxy CRUD + mask/notify ở phía TETRA).
DocTypes
MR-.#####.MRB-.#####.Logic (validate() của Booking)
for_update→ query overlap (nửa-mở[start,end)) → throw. Thay cho GiST EXCLUDE constraint của Postgres (MariaDB không có exclusion constraint).Test
test_meeting_room_booking.py(7 ca).bench run-testsbị chặn bởi bootstrap ERPNext ở local; đã smoke test qua bench console: tất cả 9 check PASS (overlap/past/end<start/inactive/back-to-back/online/transition).Refs: TETRA-2191
a7e07bd76fdf28583995