| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2378 |
| Technical Name |
ap_library |
| License | OPL-1 |
| Website | https://www.erotocaap.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2378 |
| Technical Name |
ap_library |
| License | OPL-1 |
| Website | https://www.erotocaap.com |
ð Library Management System
A complete, production-ready Odoo module for managing books, borrowing history, conflict resolution, and automated email reminders.
ð Key Features
ð Book CatalogueCover images auto-fetched from OpenLibrary API, ISBN uniqueness constraints, Many2many authors, categories, copy count and real-time availability flag. ð Booking HistoryFull lifecycle â Draft â Pending â Approved â Returned / Rejected â with chatter, activity mixin, computed day-count and auto sequence numbering. âï¸ Conflict DetectionOn approval, overlapping bookings are detected. If all copies are occupied, a wizard opens listing conflicts and offers available date slots. ð² Demo Data LoaderOne-click server actions to populate 20 realistic books with live cover art, categories, and 10 historical bookings across various statuses. |
ðï¸ Category SystemHierarchical categories with parent-child support, cover images, and computed book count. Drill into category books directly from the kanban card. ð Automated Emails3 email templates: booking confirmation with PDF attachment, librarian status-update notification, and overdue return reminder grouped per customer. ð PDF ReportsQWeb-generated booking history and book-detail reports available as one-click downloads and auto-attached to outbound confirmation emails. ð Role-Based AccessThree security groups â Admin, Librarian, User â with fine-grained record rules, group-restricted buttons and context-aware field defaults. |
â Book Catalogue â List View with availability, ISBN, authors and cover images |
â¡ Booking History â Form View with status bar, approve/reject actions and chatter |
⢠Booking Conflict Wizard â detects overlaps and offers available date slots |
⣠Automated overdue return reminder email with grouped bookings table |
ð Booking Workflow
|
DRAFT
|
â |
PENDING
|
â |
APPROVED
|
â |
RETURNED
|
| Step | Actor | Action | Result |
|---|---|---|---|
| 1 | User / Librarian | Click "Request Book" | Wizard opens pre-filled with dates |
| 2 | System | Create booking record | Sequence no. assigned, confirmation email sent with PDF |
| 3 | Librarian / Admin | Validate & Approve | Conflict check runs automatically |
| 4a | System | No conflict found | Status â Approved, copy count decremented |
| 4b | System | Conflict detected | Conflict wizard opens â show available slots â notify user |
| 5 | Librarian / Admin | Mark as Returned | Copy count restored, availability reset to True |
ð Role-Based Access Control
| Permission | Admin | Librarian | User |
|---|---|---|---|
| View all books | â | â | â |
| Create / Edit books | â | â | â |
| Delete books | â | â | â |
| Request book (wizard) | â | â | â |
| Approve / Reject booking | â | â | â |
| View own bookings only | â | â | â |
| Send return reminder | â | â | â |
| Print PDF reports | â | â | â Own only |
âï¸ Installation Guide
-
Download & place the module
cp -r wk_library_management /opt/odoo/custom_addons/ -
Update addons path in odoo.conf
addons_path = /opt/odoo/addons,/opt/odoo/custom_addons -
Restart Odoo server
sudo systemctl restart odoo - Go to Apps â Update App List â Search "Library Management" â Install
- Load demo data (optional): Library â Books â Action â Load Demo Books
- Configure SMTP: Settings â Technical â Outbound Mail Servers
requests
(standard in Odoo environments).
ð ï¸ Technical Stack
Models
|
ORM / Framework Features Used
|
ð Changelog
v1.0.0 May 2025
- Initial release â Book, Category & Booking models
- Booking conflict detection with available-slot computation
- 3 automated email templates with PDF attachment support
- Role-based access: Admin, Librarian, User security groups
- Demo data loader â 20 books with OpenLibrary cover art
- Bulk server actions: Download Report, Deny Bookings, Send Reminder
- QWeb PDF reports for bookings and book details
ð Library Management System
Developed by Erotoca Software Pvt. Ltd.
License: OPL-1 | Odoo 16 & 17 | support@erotoca.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module