Travel

travel
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
VERSION
VERSION 1.0.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
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel
======

Travel management with passengers.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
travel_calendar_view Travel Calendar View travel.travel calendar New
travel_form_view Travel Form View travel.travel form New
travel_passenger_form_view Travel Passenger Form View travel.passenger form New
travel_tree_view Travel Tree View travel.travel tree New
view_travel_configuration travel settings travel.config.settings form New
Models touched (3)

New fields (1)
  • basic_passenger_limit Integer
    default=<expr> help='Limit number of passengers to organize travels by non-managers.' args: 'Basic Passenger Limit'
Public methods (2)
  • get_basic_passenger_limit(self)
    @api.model
    Return set passenger limit if it set, otherwise get default
  • set_basic_passenger_limit(self)
    @api.one
    Set passenger limit in config params

New fields (4)
  • partner_id Many2one → res.partner
    help='Name of Passenger.' ondelete='cascade' required=True args: 'res.partner', 'Passenger'
  • travel_id Many2one → travel.travel
    help='Travel for which the passenger is participating.' args: 'travel.travel', 'Travel'
  • travel_name Char
    related='travel_id.name' string='Travel'
  • travel_state Selection
    related='travel_id.state' string='State'
Public methods (3)
  • action_passenger_form_view(self)
    @api.multi
    Call action, if there is a travel, put it in the name. Insert default dates in context
  • name_get(self)
    @api.multi
    Get name of partner
  • on_change_partner_id(self)
    @api.onchange('partner_id')
    Placeholder function to be inherited

New fields (7)
  • city_ids Many2many → res.better.zip
    help='Destination cities of travel.' string='Locations' args: 'res.better.zip'
  • date_start Date
    required=True args: 'Start Date'
  • date_stop Date
    required=True args: 'End Date'
  • manager_only Boolean
    function='is_manager_only' help='Can only be edited by a manager' args: 'Manager'
  • name Char
    required=True args: 'Name of travel'
  • passenger_ids One2many → travel.passenger
    help='List of passengers.' args: 'travel.passenger', 'travel_id', 'Passengers'
  • state Selection
    default='draft' readonly=True args: [('draft', 'Draft'), ('open', 'Saved'), ('booking', 'In Reservation'), ('reserved', 'Reserved'), ('confirmed', 'Confirmed'), ('done', 'Closed')], 'Status'
Public methods (10)
  • check_date(self)
    @api.constrains('date_start', 'date_stop')
  • create(self, vals)
    @api.model
    Warn if user tried to create travel with too many passengers for according to his security role.
  • is_manager_only(self)
    @api.multi
  • travel_book(self)
    @api.multi
    Put the state of the travel into booking
  • travel_close(self)
    @api.multi
    Put the state of the travel into done
  • travel_confirm(self)
    @api.multi
    Put the state of the travel into confirmed
  • travel_open(self)
    @api.multi
    Put the state of the travel into open
  • travel_reserve(self)
    @api.multi
    Put the state of the travel into reserved
  • unlink(self)
    @api.multi
    Prevent deletion if travel isn't in draft Warn if ids being deleted contain a travel which has too many passengers for the current user to delete.
  • write(self, vals)
    @api.multi
    Warn if user does not have rights to modify travel with current number of passengers or to add more than the limit.
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
VERSION
VERSION 1.0.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
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel
======

Travel management with passengers.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
travel_calendar_view Travel Calendar View travel.travel calendar New
travel_form_view Travel Form View travel.travel form New
travel_passenger_form_view Travel Passenger Form View travel.passenger form New
travel_tree_view Travel Tree View travel.travel tree New
view_travel_configuration travel settings travel.config.settings form New
Models touched (3)

New fields (1)
  • basic_passenger_limit Integer
    default=<expr> help='Limit number of passengers to organize travels by non-managers.' args: 'Basic Passenger Limit'
Public methods (2)
  • get_basic_passenger_limit(self)
    @api.model
    Return set passenger limit if it set, otherwise get default
  • set_basic_passenger_limit(self)
    @api.one
    Set passenger limit in config params

New fields (4)
  • partner_id Many2one → res.partner
    help='Name of Passenger.' ondelete='cascade' required=True args: 'res.partner', 'Passenger'
  • travel_id Many2one → travel.travel
    help='Travel for which the passenger is participating.' args: 'travel.travel', 'Travel'
  • travel_name Char
    related='travel_id.name' string='Travel'
  • travel_state Selection
    related='travel_id.state' string='State'
Public methods (3)
  • action_passenger_form_view(self)
    @api.multi
    Call action, if there is a travel, put it in the name. Insert default dates in context
  • name_get(self)
    @api.multi
    Get name of partner
  • on_change_partner_id(self)
    @api.onchange('partner_id')
    Placeholder function to be inherited

New fields (7)
  • city_ids Many2many → res.better.zip
    help='Destination cities of travel.' string='Locations' args: 'res.better.zip'
  • date_start Date
    required=True args: 'Start Date'
  • date_stop Date
    required=True args: 'End Date'
  • manager_only Boolean
    function='is_manager_only' help='Can only be edited by a manager' args: 'Manager'
  • name Char
    required=True args: 'Name of travel'
  • passenger_ids One2many → travel.passenger
    help='List of passengers.' args: 'travel.passenger', 'travel_id', 'Passengers'
  • state Selection
    default='draft' readonly=True args: [('draft', 'Draft'), ('open', 'Saved'), ('booking', 'In Reservation'), ('reserved', 'Reserved'), ('confirmed', 'Confirmed'), ('done', 'Closed')], 'Status'
Public methods (10)
  • check_date(self)
    @api.constrains('date_start', 'date_stop')
  • create(self, vals)
    @api.model
    Warn if user tried to create travel with too many passengers for according to his security role.
  • is_manager_only(self)
    @api.multi
  • travel_book(self)
    @api.multi
    Put the state of the travel into booking
  • travel_close(self)
    @api.multi
    Put the state of the travel into done
  • travel_confirm(self)
    @api.multi
    Put the state of the travel into confirmed
  • travel_open(self)
    @api.multi
    Put the state of the travel into open
  • travel_reserve(self)
    @api.multi
    Put the state of the travel into reserved
  • unlink(self)
    @api.multi
    Prevent deletion if travel isn't in draft Warn if ids being deleted contain a travel which has too many passengers for the current user to delete.
  • write(self, vals)
    @api.multi
    Warn if user does not have rights to modify travel with current number of passengers or to add more than the limit.
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
VERSION
VERSION 1.0.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 BAKKALI
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
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel
======

Travel management with passengers.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
travel_calendar_view Travel Calendar View travel.travel calendar New
travel_form_view Travel Form View travel.travel form New
travel_passenger_form_view Travel Passenger Form View travel.passenger form New
travel_tree_view Travel Tree View travel.travel tree New
view_travel_configuration travel settings travel.config.settings form New
Models touched (3)

New fields (1)
  • basic_passenger_limit Integer
    default=<expr> help='Limit number of passengers to organize travels by non-managers.' args: 'Basic Passenger Limit'
Public methods (2)
  • get_basic_passenger_limit(self)
    @api.model
    Return set passenger limit if it set, otherwise get default
  • set_basic_passenger_limit(self)
    @api.one
    Set passenger limit in config params

New fields (4)
  • partner_id Many2one → res.partner
    help='Name of Passenger.' ondelete='cascade' required=True args: 'res.partner', 'Passenger'
  • travel_id Many2one → travel.travel
    help='Travel for which the passenger is participating.' args: 'travel.travel', 'Travel'
  • travel_name Char
    related='travel_id.name' string='Travel'
  • travel_state Selection
    related='travel_id.state' string='State'
Public methods (3)
  • action_passenger_form_view(self)
    @api.multi
    Call action, if there is a travel, put it in the name. Insert default dates in context
  • name_get(self)
    @api.multi
    Get name of partner
  • on_change_partner_id(self)
    @api.onchange('partner_id')
    Placeholder function to be inherited

New fields (7)
  • city_ids Many2many → res.better.zip
    help='Destination cities of travel.' string='Locations' args: 'res.better.zip'
  • date_start Date
    required=True args: 'Start Date'
  • date_stop Date
    required=True args: 'End Date'
  • manager_only Boolean
    function='is_manager_only' help='Can only be edited by a manager' args: 'Manager'
  • name Char
    required=True args: 'Name of travel'
  • passenger_ids One2many → travel.passenger
    help='List of passengers.' args: 'travel.passenger', 'travel_id', 'Passengers'
  • state Selection
    default='draft' readonly=True args: [('draft', 'Draft'), ('open', 'Saved'), ('booking', 'In Reservation'), ('reserved', 'Reserved'), ('confirmed', 'Confirmed'), ('done', 'Closed')], 'Status'
Public methods (10)
  • check_date(self)
    @api.constrains('date_start', 'date_stop')
  • create(self, vals)
    @api.model
    Warn if user tried to create travel with too many passengers for according to his security role.
  • is_manager_only(self)
    @api.multi
  • travel_book(self)
    @api.multi
    Put the state of the travel into booking
  • travel_close(self)
    @api.multi
    Put the state of the travel into done
  • travel_confirm(self)
    @api.multi
    Put the state of the travel into confirmed
  • travel_open(self)
    @api.multi
    Put the state of the travel into open
  • travel_reserve(self)
    @api.multi
    Put the state of the travel into reserved
  • unlink(self)
    @api.multi
    Prevent deletion if travel isn't in draft Warn if ids being deleted contain a travel which has too many passengers for the current user to delete.
  • write(self, vals)
    @api.multi
    Warn if user does not have rights to modify travel with current number of passengers or to add more than the limit.
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
VERSION
VERSION 0.2
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
COMMITTERSAlexandre Fayolle, Joao Alfredo Gama Batista, Sandy Carter, EL HADJI DEM, moylop260, dufresnedavid, Sandy, 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
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Travel
======

Travel management with passengers.

Contributors
------------
* Sandy Carter (sandy.carter@savoirfairelinux.com)

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
travel_calendar_view Travel Calendar View travel.travel calendar New
travel_form_view Travel Form View travel.travel form New
travel_passenger_form_view Travel Passenger Form View travel.passenger form New
travel_tree_view Travel Tree View travel.travel tree New
view_travel_configuration travel settings travel.config.settings form New
view_travel_search Search Travels travel.travel search New
Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • get_default_basic_passenger_limit(self, cr, uid, ids, context=None)
  • set_basic_passenger_limit(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (3)
  • action_passenger_form_view(self, cr, uid, ids, context=None)
    Call action, if there is a travel, put it in the name.
  • name_get(self, cr, uid, ids, context=None)
  • on_change_partner_id(self, cr, uid, ids, partner_id, context=None)
    Placeholder function to be inherited

New fields (0)

No new fields.

Public methods (10)
  • check_date(self, cr, uid, ids, context=None)
  • create(self, cr, user, vals, context=None)
    Warn if user tried to create travel with too many passengers for according to his security role.
  • is_manager_only(self, cr, user, ids, name, args, context=None)
  • travel_book(self, cr, uid, ids, context=None)
    Put the state of the travel into booking
  • travel_close(self, cr, uid, ids, context=None)
    Put the state of the travel into done
  • travel_confirm(self, cr, uid, ids, context=None)
    Put the state of the travel into confirmed
  • travel_open(self, cr, uid, ids, context=None)
    Put the state of the travel into open
  • travel_reserve(self, cr, uid, ids, context=None)
    Put the state of the travel into reserved
  • unlink(self, cr, user, ids, context=None)
    Warn if ids being deleted contain a travel which has too many passengers for the current user to delete.
  • write(self, cr, user, ids, vals, context=None)
    Warn if user does not have rights to modify travel with current number of passengers or to add more than the limit.