Skip to content
Health
45/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 101 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

    This module adds hostel management feature to OpenEduCat_Core.

Dependencies

Odoo dependencies
OCA/vertical-education:
odoo/odoo:
- web
- hr
- bus
Python dependencies
None
System dependencies
None
Required by
openeducat_erp

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 9

XML IDNameModelTypeStatus
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_id Many2one → op.room
    args: 'op.room', 'Room'
Public methods (0)

No public methods.

New fields (3)
  • capacity Integer
    required=True args: 'Hostel Capacity'
  • hostel_room_lines One2many → op.hostel.room
    args: 'op.hostel.room', 'hostel_id', 'Room(s)'
  • name Char
    required=True size=16 args: 'Name'
Public methods (0)

No public methods.

New fields (6)
  • allocated_date Date
    default=fields.Date.today() args: 'Allocated Date'
  • hostel_id Many2one → op.hostel
    required=True args: 'op.hostel', 'Hostel'
  • name Many2one → op.room
    required=True args: 'op.room', 'Room'
  • rent Float
    args: 'Rent'
  • student_ids Many2many → res.partner
    string='Allocated Students' args: 'res.partner'
  • students_per_room Integer
    required=True args: 'Students per Room'
Public methods (3)
  • check_capacity(self)
    @api.constrains('students_per_room')
  • onchange_hostel(self)
    @api.onchange('hostel_id')
  • onchange_name(self)
    @api.onchange('name')

New fields (5)
  • capacity Integer
    required=True args: 'Room Capacity'
  • code Char
    required=True args: 'Code'
  • facility_line One2many → op.facility.line
    args: 'op.facility.line', 'room_id', 'Facility'
  • hostel_id Many2one → op.hostel
    required=True args: 'op.hostel', 'Hostel'
  • name Char
    required=True args: 'Room Name'
Public methods (1)
  • check_capacity(self)
    @api.constrains('capacity')