Travel - HR Bindings

travel_hr
REPOSITORY
REPOSITORYOCA/vertical-travel
GIT
GIThttps://github.com/OCA/vertical-travel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-travel/tree/10.0/travel_hr
VERSION
VERSION 1.2
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - base_location
OCA/vertical-travel:
    - travel
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits travel.travel_form_view
travel_passenger_form_view Travel Passenger HR Form View travel.passenger field Inherits travel.travel_passenger_form_view
travel_tree_view Travel Tree HR View travel.travel field Inherits travel.travel_tree_view
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.

REPOSITORY
REPOSITORYOCA/vertical-travel
GIT
GIThttps://github.com/OCA/vertical-travel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-travel/tree/9.0/travel_hr
VERSION
VERSION 1.2
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - base_location
OCA/vertical-travel:
    - travel
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - hr
    - resource
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits travel.travel_form_view
travel_passenger_form_view Travel Passenger HR Form View travel.passenger field Inherits travel.travel_passenger_form_view
travel_tree_view Travel Tree HR View travel.travel field Inherits travel.travel_tree_view
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.

REPOSITORY
REPOSITORYOCA/vertical-travel
GIT
GIThttps://github.com/OCA/vertical-travel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-travel/tree/8.0/travel_hr
VERSION
VERSION 1.2
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Sandy Carter, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - base_location
OCA/vertical-travel:
    - travel
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - hr
    - resource
    - board
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits travel.travel_form_view
travel_passenger_form_view Travel Passenger HR Form View travel.passenger field Inherits travel.travel_passenger_form_view
travel_tree_view Travel Tree HR View travel.travel field Inherits travel.travel_tree_view
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.

REPOSITORY
REPOSITORYOCA/vertical-travel
GIT
GIThttps://github.com/OCA/vertical-travel.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-travel/tree/7.0/travel_hr
VERSION
VERSION 1.2
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Joao Alfredo Gama Batista, Sandy Carter, EL HADJI DEM, Davin Baragiotta
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - base_location
OCA/vertical-travel:
    - travel
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - hr
    - resource
    - process
    - board
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits travel.travel_form_view
travel_passenger_form_view Travel Passenger HR Form View travel.passenger field Inherits travel.travel_passenger_form_view
travel_tree_view Travel Tree HR View travel.travel field Inherits travel.travel_tree_view
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.