OpenEduCat Hostel
openeducat_hostel · OCA/vertical-education
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.33 MB
Module directory on disk
Code analysis
10 migration notes
4 models
9 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
OpHostel— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceOpHostelRoomAllocation— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_op_hostel_room_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_op_hostel_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_op_room_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module adds hostel management feature to OpenEduCat_Core.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_op_hostel_form |
op.hostel.form | op.hostel | form | New |
view_op_hostel_room_form |
op.hostel.room.form | op.hostel.room | form | New |
view_op_hostel_room_search |
op.hostel.room.search | op.hostel.room | search | New |
view_op_hostel_room_tree |
op.hostel.room.tree | op.hostel.room | tree | New |
view_op_hostel_search |
op.hostel.search | op.hostel | search | New |
view_op_hostel_tree |
op.hostel.tree | op.hostel | tree | New |
view_op_room_form |
op.room.form | op.room | form | New |
view_op_room_search |
op.room.search | op.room | search | New |
view_op_room_tree |
op.room.tree | op.room | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
room_idMany2one → op.roomargs: 'op.room', 'Room'
No public methods.
New fields (3)
-
capacityIntegerrequired=True args: 'Hostel Capacity' -
hostel_room_linesOne2many → op.hostel.roomargs: 'op.hostel.room', 'hostel_id', 'Room(s)' -
nameCharrequired=Truesize=16 args: 'Name'
No public methods.
New fields (6)
-
allocated_dateDatedefault=fields.Date.today() args: 'Allocated Date' -
hostel_idMany2one → op.hostelrequired=True args: 'op.hostel', 'Hostel' -
nameMany2one → op.roomrequired=True args: 'op.room', 'Room' -
rentFloatargs: 'Rent' -
student_idsMany2many → res.partnerstring='Allocated Students' args: 'res.partner' -
students_per_roomIntegerrequired=True args: 'Students per Room'
-
check_capacity(self)@api.constrains('students_per_room') -
onchange_hostel(self)@api.onchange('hostel_id') -
onchange_name(self)@api.onchange('name')
New fields (5)
-
capacityIntegerrequired=True args: 'Room Capacity' -
codeCharrequired=True args: 'Code' -
facility_lineOne2many → op.facility.lineargs: 'op.facility.line', 'room_id', 'Facility' -
hostel_idMany2one → op.hostelrequired=True args: 'op.hostel', 'Hostel' -
nameCharrequired=True args: 'Room Name'
-
check_capacity(self)@api.constrains('capacity')