Repository
OCA/vertical-travel · module folder · Try on Runboat
Module version
1.2
Category
Customer Relationship Management
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
http://www.savoirfairelinux.com
Last tracking update
2026-08-07 07:17:53
Authors
Savoir-faire Linux, Odoo Community Association (OCA)
Maintainers
Savoir-faire Linux
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Odoo dependencies
OCA/partner-contact:
OCA/vertical-travel:
odoo/odoo:
- web
- bus
- hr
Python dependencies
None
System dependencies
None
Required by
travel_journey_hr
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)

Code Analysis

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…