Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 131 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 3 migration notes 1 model 1 view 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
generator_view_form Event track generator event.track.generator form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (22)
  • adjust_end_time Boolean
    default=True help="Make event's end time match the end of the last track."
  • adjust_start_time Boolean
    default=True help="Make event's start time match the start of the first track."
  • delete_existing_tracks Boolean
  • duration Float
    help='Each track will have this duration.' required=True
  • end_time Float
    compute='_compute_end_time' help='Each track will end at this time.'
  • event_date_begin Datetime
    help='Change it in the event form. No tracks before this date will be generated.' related='event_id.date_begin'
  • event_date_end Datetime
    help='Change it in the event form. No tracks after this date will be generated.' related='event_id.date_end'
  • event_date_tz Selection
    help='Change it in the event form. Timezone of the generated tracks.' related='event_id.date_tz'
  • event_id Many2one → event.event
    default=<expr> required=True string='Event' args: 'event.event'
  • fridays Boolean
    help='Create tracks on Fridays.'
  • location_id Many2one → event.track.location
    args: 'event.track.location', 'Location'
  • mondays Boolean
    help='Create tracks on Mondays.'
  • name Char
    help='Title that will be assigned to all created tracks.' required=True args: 'Track title'
  • publish_tracks_in_website Boolean
  • saturdays Boolean
    help='Create tracks on Saturdays.'
  • speaker_ids Many2many → res.partner
    relation='event_track_generate_generator_speaker_ids' string='Speakers' args: 'res.partner'
  • start_time Float
    help="Each track will start at this time (in the event's timezone)." required=True
  • sundays Boolean
    help='Create tracks on Sundays.'
  • tag_ids Many2many → event.track.tag
    relation='event_track_generate_generator_tag_ids' string='Tags' args: 'event.track.tag'
  • thursdays Boolean
    help='Create tracks on Thursdays.'
  • tuesdays Boolean
    help='Create tracks on Tuesdays.'
  • wednesdays Boolean
    help='Create tracks on Wednesdays.'
Public methods (7)
  • action_generate(self)
    @api.multi
    Generate event tracks according to received data. This is the main method of this class, triggered by the UI.
  • adjust_dates(self)
    @api.multi
    Adjust event dates if asked to do so.
  • create_track(self, **values)
    @api.multi
    Create a new track record with the provided values.
  • datetime_fields(self)
    @api.multi
    Fields converted to Python's Datetime-based objects.
  • existing_tracks(self, date)
    @api.multi
    Return existing tracks that match some criteria.
  • generate_tracks(self)
    @api.multi
    Know which tracks must be generated and do it.
  • weekdays(self)
    @api.multi
    Sorted weekdays user selection.