Travel Journey

travel_journey
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_journey
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
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
    - product
    - decimal_precision
    - report
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel journey
==============
This module allows to add a starting point and destination to a travel.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* Joao Alfredo Gama Batista (joao.gama@savoirfairelinux.com)

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
travel_journey_form_view Passenger Journey Form View travel.journey form New
travel_journey_gantt_view Travel Journey Gantt View travel.journey gantt New
travel_journey_list_view Travel Journey List View travel.journey tree New
travel_journey_search Travel Journey Search travel.journey search New
travel_passenger_form_view Travel Passenger Form View travel.passenger notebook Inherits travel.travel_passenger_form_view
travel_summary_view Travel Summary travel.summary form New
view_travel_journey_import Import from other passengers form travel.journey.import form New
Models touched (7)

New fields (22)
  • arrival Datetime
    help='Desired date and time of Arrival.' string='Desired Arrival'
  • baggage_qty Integer
    help='Number of articles in baggage.' string='Baggage Quantity'
  • baggage_weight Float
    help='Weight of baggage.' string='Baggage Weight'
  • baggage_weight_uom Many2one → product.uom
    help='Unit of Measure for Baggage Weight' string='Baggage Weight Unit of Measure' args: 'product.uom'
  • cancellation Text
    help='Notes on cancellation.' args: 'Cancellation'
  • class_id Many2one → travel.journey.class
    default='_default_class' help='Desired class of voyage.' required=True string='Class' args: 'travel.journey.class'
  • comment Text
    args: 'Comments'
  • date_start Date
    compute='_estimate_date_start' fnct_inv='_inv_estimate_date_start' help='Best estimate of start date calculated from filled fields.' string='Start Date' type='date'
  • date_stop Date
    compute='_estimate_date_stop' fnct_inv='_inv_estimate_date_stop' help='Best estimate of end date calculated from filled fields.' string='Stop Date' type='date'
  • departure Datetime
    help='Desired date and time of departure.' string='Desired Departure'
  • destination Many2one → res.better.zip
    help='Destination city of travel.' required='True' string='Destination' args: 'res.better.zip'
  • is_return Boolean
    help='Generate a return trip' string='Return Trip'
  • journey_type Selection
    help='Travel journey type.' selection='_get_journey_type' string='Travel journey type'
  • origin Many2one → res.better.zip
    help='Source city of travel.' required='True' string='Origin' args: 'res.better.zip'
  • passenger_id Many2one → travel.passenger
    help='Passenger on this journey.' required=True string='Passenger' args: 'travel.passenger'
  • reservation Char
    help='Number of the ticket reservation.' string='Reservation Number'
  • return_arrival Datetime
    args: 'Desired Arrival (return)'
  • return_departure Datetime
    args: 'Desired Departure (return)'
  • return_destination Many2one → res.better.zip
    string='Destination (return)' args: 'res.better.zip'
  • return_origin Many2one → res.better.zip
    string='Origin (return)' args: 'res.better.zip'
  • state Selection
    related='passenger_id.travel_state' store=True string='State'
  • travel Char
    related='passenger_id.travel_name' store=True string='Travel'
Public methods (16)
  • arrival_date_get(self)
    @api.one
  • arrival_time_get(self)
    @api.one
  • check_date(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists_return(self)
    @api.one@api.constrains('is_return', 'return_departure', 'return_arrival')
  • check_date_return(self)
    @api.one@api.constrains('return_departure', 'return_arrival')
  • check_uom(self)
    @api.one@api.constrains('baggage_weight', 'baggage_weight_uom')
  • company_get(self)
    @api.one
  • create(self, vals)
    @api.one
    If is_return is checked, create a return trip after.
  • departure_date_get(self)
    @api.one
  • departure_time_get(self)
    @api.one
  • destination_get(self)
    @api.one
  • name_get(self)
    @api.multi
  • onchange_destination(self)
    @api.onchange('destination')
  • onchange_origin(self)
    @api.onchange('origin')
  • origin_get(self)
    @api.one

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cancel(self, cr, uid, ids, context=None)
  • data_import(self, cr, uid, ids, context=None)
    Import journey information from other passenger

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • export_excel(self, cr, uid, ids, context=None)
    Export a journey summary an excel file This reopens the current wizard with a download link to the gathered data, instead of populating the tree view.
  • get_excel_columns(self, context=None)
  • produce_summary(self, cr, uid, travel, context=None)

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_journey
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
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: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
    - product
    - decimal_precision
    - report
    - hr
    - resource
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel journey
==============
This module allows to add a starting point and destination to a travel.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* Joao Alfredo Gama Batista (joao.gama@savoirfairelinux.com)

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
travel_journey_form_view Passenger Journey Form View travel.journey form New
travel_journey_gantt_view Travel Journey Gantt View travel.journey gantt New
travel_journey_list_view Travel Journey List View travel.journey tree New
travel_journey_search Travel Journey Search travel.journey search New
travel_passenger_form_view Travel Passenger Form View travel.passenger notebook Inherits travel.travel_passenger_form_view
travel_summary_view Travel Summary travel.summary form New
view_travel_journey_import Import from other passengers form travel.journey.import form New
Models touched (7)

New fields (22)
  • arrival Datetime
    help='Desired date and time of Arrival.' string='Desired Arrival'
  • baggage_qty Integer
    help='Number of articles in baggage.' string='Baggage Quantity'
  • baggage_weight Float
    help='Weight of baggage.' string='Baggage Weight'
  • baggage_weight_uom Many2one → product.uom
    help='Unit of Measure for Baggage Weight' string='Baggage Weight Unit of Measure' args: 'product.uom'
  • cancellation Text
    help='Notes on cancellation.' args: 'Cancellation'
  • class_id Many2one → travel.journey.class
    default='_default_class' help='Desired class of voyage.' required=True string='Class' args: 'travel.journey.class'
  • comment Text
    args: 'Comments'
  • date_start Date
    compute='_estimate_date_start' fnct_inv='_inv_estimate_date_start' help='Best estimate of start date calculated from filled fields.' string='Start Date' type='date'
  • date_stop Date
    compute='_estimate_date_stop' fnct_inv='_inv_estimate_date_stop' help='Best estimate of end date calculated from filled fields.' string='Stop Date' type='date'
  • departure Datetime
    help='Desired date and time of departure.' string='Desired Departure'
  • destination Many2one → res.better.zip
    help='Destination city of travel.' required='True' string='Destination' args: 'res.better.zip'
  • is_return Boolean
    help='Generate a return trip' string='Return Trip'
  • journey_type Selection
    help='Travel journey type.' selection='_get_journey_type' string='Travel journey type'
  • origin Many2one → res.better.zip
    help='Source city of travel.' required='True' string='Origin' args: 'res.better.zip'
  • passenger_id Many2one → travel.passenger
    help='Passenger on this journey.' required=True string='Passenger' args: 'travel.passenger'
  • reservation Char
    help='Number of the ticket reservation.' string='Reservation Number'
  • return_arrival Datetime
    args: 'Desired Arrival (return)'
  • return_departure Datetime
    args: 'Desired Departure (return)'
  • return_destination Many2one → res.better.zip
    string='Destination (return)' args: 'res.better.zip'
  • return_origin Many2one → res.better.zip
    string='Origin (return)' args: 'res.better.zip'
  • state Selection
    related='passenger_id.travel_state' store=True string='State'
  • travel Char
    related='passenger_id.travel_name' store=True string='Travel'
Public methods (16)
  • arrival_date_get(self)
    @api.one
  • arrival_time_get(self)
    @api.one
  • check_date(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists_return(self)
    @api.one@api.constrains('is_return', 'return_departure', 'return_arrival')
  • check_date_return(self)
    @api.one@api.constrains('return_departure', 'return_arrival')
  • check_uom(self)
    @api.one@api.constrains('baggage_weight', 'baggage_weight_uom')
  • company_get(self)
    @api.one
  • create(self, vals)
    @api.one
    If is_return is checked, create a return trip after.
  • departure_date_get(self)
    @api.one
  • departure_time_get(self)
    @api.one
  • destination_get(self)
    @api.one
  • name_get(self)
    @api.multi
  • onchange_destination(self)
    @api.onchange('destination')
  • onchange_origin(self)
    @api.onchange('origin')
  • origin_get(self)
    @api.one

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cancel(self, cr, uid, ids, context=None)
  • data_import(self, cr, uid, ids, context=None)
    Import journey information from other passenger

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • export_excel(self, cr, uid, ids, context=None)
    Export a journey summary an excel file This reopens the current wizard with a download link to the gathered data, instead of populating the tree view.
  • get_excel_columns(self, context=None)
  • produce_summary(self, cr, uid, travel, context=None)

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_journey
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Sandy Carter, Stéphane Bidoul (ACSONE), OCA-git-bot, houssine
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
    - product
    - decimal_precision
    - report
    - hr
    - resource
    - board
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel journey
==============
This module allows to add a starting point and destination to a travel.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* Joao Alfredo Gama Batista (joao.gama@savoirfairelinux.com)

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
travel_journey_form_view Passenger Journey Form View travel.journey form New
travel_journey_gantt_view Travel Journey Gantt View travel.journey gantt New
travel_journey_list_view Travel Journey List View travel.journey tree New
travel_journey_search Travel Journey Search travel.journey search New
travel_passenger_form_view Travel Passenger Form View travel.passenger notebook Inherits travel.travel_passenger_form_view
travel_summary_view Travel Summary travel.summary form New
view_travel_journey_import Import from other passengers form travel.journey.import form New
Models touched (7)

New fields (22)
  • arrival Datetime
    help='Desired date and time of Arrival.' string='Desired Arrival'
  • baggage_qty Integer
    help='Number of articles in baggage.' string='Baggage Quantity'
  • baggage_weight Float
    help='Weight of baggage.' string='Baggage Weight'
  • baggage_weight_uom Many2one → product.uom
    help='Unit of Measure for Baggage Weight' string='Baggage Weight Unit of Measure' args: 'product.uom'
  • cancellation Text
    help='Notes on cancellation.' args: 'Cancellation'
  • class_id Many2one → travel.journey.class
    default='_default_class' help='Desired class of voyage.' required=True string='Class' args: 'travel.journey.class'
  • comment Text
    args: 'Comments'
  • date_start Date
    compute='_estimate_date_start' fnct_inv='_inv_estimate_date_start' help='Best estimate of start date calculated from filled fields.' string='Start Date' type='date'
  • date_stop Date
    compute='_estimate_date_stop' fnct_inv='_inv_estimate_date_stop' help='Best estimate of end date calculated from filled fields.' string='Stop Date' type='date'
  • departure Datetime
    help='Desired date and time of departure.' string='Desired Departure'
  • destination Many2one → res.better.zip
    help='Destination city of travel.' required='True' string='Destination' args: 'res.better.zip'
  • is_return Boolean
    help='Generate a return trip' string='Return Trip'
  • journey_type Selection
    help='Travel journey type.' selection='_get_journey_type' string='Travel journey type'
  • origin Many2one → res.better.zip
    help='Source city of travel.' required='True' string='Origin' args: 'res.better.zip'
  • passenger_id Many2one → travel.passenger
    help='Passenger on this journey.' required=True string='Passenger' args: 'travel.passenger'
  • reservation Char
    help='Number of the ticket reservation.' string='Reservation Number'
  • return_arrival Datetime
    args: 'Desired Arrival (return)'
  • return_departure Datetime
    args: 'Desired Departure (return)'
  • return_destination Many2one → res.better.zip
    string='Destination (return)' args: 'res.better.zip'
  • return_origin Many2one → res.better.zip
    string='Origin (return)' args: 'res.better.zip'
  • state Selection
    related='passenger_id.travel_state' store=True string='State'
  • travel Char
    related='passenger_id.travel_name' store=True string='Travel'
Public methods (16)
  • arrival_date_get(self)
    @api.one
  • arrival_time_get(self)
    @api.one
  • check_date(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists(self)
    @api.one@api.constrains('departure', 'arrival')
  • check_date_exists_return(self)
    @api.one@api.constrains('is_return', 'return_departure', 'return_arrival')
  • check_date_return(self)
    @api.one@api.constrains('return_departure', 'return_arrival')
  • check_uom(self)
    @api.one@api.constrains('baggage_weight', 'baggage_weight_uom')
  • company_get(self)
    @api.one
  • create(self, vals)
    @api.one
    If is_return is checked, create a return trip after.
  • departure_date_get(self)
    @api.one
  • departure_time_get(self)
    @api.one
  • destination_get(self)
    @api.one
  • name_get(self)
    @api.multi
  • onchange_destination(self)
    @api.onchange('destination')
  • onchange_origin(self)
    @api.onchange('origin')
  • origin_get(self)
    @api.one

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cancel(self, cr, uid, ids, context=None)
  • data_import(self, cr, uid, ids, context=None)
    Import journey information from other passenger

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • export_excel(self, cr, uid, ids, context=None)
    Export a journey summary an excel file This reopens the current wizard with a download link to the gathered data, instead of populating the tree view.
  • get_excel_columns(self, context=None)
  • produce_summary(self, cr, uid, travel, context=None)

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_journey
VERSION
VERSION 0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSYannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Joao Alfredo Gama Batista, Sandy Carter, GitHub, Alex Comba, EL HADJI DEM, moylop260, dufresnedavid, Sandy, Jordi Riera, 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
    - product
    - process
    - decimal_precision
    - report_webkit
    - hr
    - resource
    - board
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel journey
==============
This module allows to add a starting point and destination to a travel.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* Joao Alfredo Gama Batista (joao.gama@savoirfairelinux.com)

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
travel_journey_form_view Passenger Journey Form View travel.journey form New
travel_journey_gantt_view Travel Journey Gantt View travel.journey gantt New
travel_journey_list_view Travel Journey List View travel.journey tree New
travel_journey_search Travel Journey Search travel.journey search New
travel_passenger_form_view Travel Passenger Form View travel.passenger notebook Inherits travel.travel_passenger_form_view
travel_summary_view Travel Summary travel.summary form New
view_travel_journey_import Import from other passengers form travel.journey.import form New
Models touched (8)

New fields (0)

No new fields.

Public methods (16)
  • arrival_date_get(self, cr, uid, ids, context=None)
  • arrival_time_get(self, cr, uid, ids, context=None)
  • check_date(self, cr, uid, ids, context=None)
  • check_date_exists(self, cr, uid, ids, context=None)
  • check_date_exists_return(self, cr, uid, ids, context=None)
  • check_date_return(self, cr, uid, ids, context=None)
  • check_uom(self, cr, uid, ids, context=None)
  • company_get(self, cr, uid, ids, context=None)
  • create(self, cr, uid, vals, context=None)
    If is_return is checked, create a return trip after.
  • departure_date_get(self, cr, uid, ids, context=None)
  • departure_time_get(self, cr, uid, ids, context=None)
  • destination_get(self, cr, uid, ids, context=None)
  • name_get(self, cr, uid, ids, context=None)
  • on_change_return(cr, uid, ids, key, location, context=None)
    @staticmethod
  • on_change_times(self, cr, uid, ids, departure, arrival, return_trip=False, context=None)
  • origin_get(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cancel(self, cr, uid, ids, context=None)
  • data_import(self, cr, uid, ids, context=None)
    Import journey information from other passenger

New fields (0)

No new fields.

Public methods (2)
  • print_report(self, cr, uid, ids, data, context=None)
  • update_journey_domain(self, cr, uid, ids, travel_id, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • export_excel(self, cr, uid, ids, context=None)
    Export a journey summary an excel file This reopens the current wizard with a download link to the gathered data, instead of populating the tree view.
  • get_excel_columns(self, context=None)
  • produce_summary(self, cr, uid, travel, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.