Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 7.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
AGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis 6 migration notes 2 models 3 views 0 HTTP endpoints

Description

Travel - HR Bindings

Adds HR department to passenger view

Contributors

  • Sandy Carter (sandy.carter@savoirfairelinux.com)
  • Joao Alfredo Gama Batista (joao.gama@savoirfairelinux.com)

Dependencies

Odoo dependencies
OCA/partner-contact:
OCA/vertical-travel:
odoo/odoo:
- web
- bus
- hr
Python dependencies
None
System dependencies
None
Required by
travel_journey_hr

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
travel_form_view Travel Form HR View travel.travel form Inherits travel.travel_form_view
travel_passenger_form_view Travel Passenger HR Form View travel.passenger form Inherits travel.travel_passenger_form_view
travel_tree_view Travel Tree HR View travel.travel tree Inherits travel.travel_tree_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (5)
  • create(self, cr, uid, vals, context=None)
    Try and get an hr.department added manually as the field is readonly
  • get_departments_from_partner_ids(self, cr, uid, partner_ids, context=None)
  • get_employees_from_partner_ids(self, cr, uid, partner_ids, context=None)
    Given a list of partner_id find the hr.employee who have it in their related user's partner_id.
  • on_change_partner_id(self, cr, uid, ids, partner_id, context=None)
    Try and get an hr.department from the res.partner
  • write(self, cr, uid, ids, vals, context=None)
    Try and get an hr.department added manually as the field is readonly

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…