Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 7 Odoo series since 13.0

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

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

Description

This module provides base classes and models to manage time windows through time.window.mixin.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
stock_partner_delivery_window

Code analysis

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

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (1)
  • name Selection
    required=True selection=[('0', 'Monday'), ('1', 'Tuesday'), ('2', 'Wednesday'), ('3', 'Thursday'), ('4', 'Friday'), ('5', 'Saturday'), ('6', 'Sunday')]
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (3)
  • time_window_end Float
    required=True args: 'To'
  • time_window_start Float
    required=True args: 'From'
  • time_window_weekday_ids Many2many → time.weekday
    comodel_name='time.weekday' required=True
Public methods (5)
  • check_window_no_overlaps(self)
    @api.constrains('time_window_start', 'time_window_end', 'time_window_weekday_ids')
  • float_to_time(self, value)
    @api.model
  • float_to_time_repr(self, value)
    @api.model
  • get_time_window_end_time(self)
  • get_time_window_start_time(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…