TIP: You can type at any time to perform a new search.
Travel Journey
travel_journey · OCA/vertical-travel
- Repository
- OCA/vertical-travel · module folder · Try on Runboat
- Module version
- 0.1.0
- Category
- Customer Relationship Management
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- 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
- Python dependencies
- None
- System dependencies
- None
- Required by
- travel_journey_hr, travel_journey_other, travel_journey_plane, travel_journey_rail
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 | form | 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 |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (22)
-
arrivalDatetimehelp='Desired date and time of Arrival.'string='Desired Arrival' -
baggage_qtyIntegerhelp='Number of articles in baggage.'string='Baggage Quantity' -
baggage_weightFloathelp='Weight of baggage.'string='Baggage Weight' -
baggage_weight_uomMany2one → product.uomhelp='Unit of Measure for Baggage Weight'string='Baggage Weight Unit of Measure' args: 'product.uom' -
cancellationTexthelp='Notes on cancellation.' args: 'Cancellation' -
class_idMany2one → travel.journey.classdefault='_default_class'help='Desired class of voyage.'required=Truestring='Class' args: 'travel.journey.class' -
commentTextargs: 'Comments' -
date_startDatecompute='_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_stopDatecompute='_estimate_date_stop'fnct_inv='_inv_estimate_date_stop'help='Best estimate of end date calculated from filled fields.'string='Stop Date'type='date' -
departureDatetimehelp='Desired date and time of departure.'string='Desired Departure' -
destinationMany2one → res.better.ziphelp='Destination city of travel.'required='True'string='Destination' args: 'res.better.zip' -
is_returnBooleanhelp='Generate a return trip'string='Return Trip' -
journey_typeSelectionhelp='Travel journey type.'selection='_get_journey_type'string='Travel journey type' -
originMany2one → res.better.ziphelp='Source city of travel.'required='True'string='Origin' args: 'res.better.zip' -
passenger_idMany2one → travel.passengerhelp='Passenger on this journey.'required=Truestring='Passenger' args: 'travel.passenger' -
reservationCharhelp='Number of the ticket reservation.'string='Reservation Number' -
return_arrivalDatetimeargs: 'Desired Arrival (return)' -
return_departureDatetimeargs: 'Desired Departure (return)' -
return_destinationMany2one → res.better.zipstring='Destination (return)' args: 'res.better.zip' -
return_originMany2one → res.better.zipstring='Origin (return)' args: 'res.better.zip' -
stateSelectionrelated='passenger_id.travel_state'store=Truestring='State' -
travelCharrelated='passenger_id.travel_name'store=Truestring='Travel'
-
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.oneIf 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.
Loading…
Loading…
Loading…