Base Time Window

base_time_window
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/19.0/base_time_window
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSOCA-git-bot, Iván Todorovich, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides base classes and models to manage time windows
through time.window.mixin.

Code Analysis

Views touched (0)

No views 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/base_time_window
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSStefan Rijnhart, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci, Khôi (Kiên Kim)
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides base classes and models to manage time windows
through time.window.mixin.

Code Analysis

Views touched (0)

No views 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/base_time_window
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSAkim Juillerat, sbejaoui, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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 (4)
  • create(self, vals_list)
    @api.model_create_multi
  • name_get(self)
    WORKAROUND since Odoo doesn't handle properly records where name is a selection
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/base_time_window
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, oca-ci, Jasmin Solanki
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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 (4)
  • create(self, vals)
    @api.model
  • name_get(self)
    WORKAROUND since Odoo doesn't handle properly records where name is a selection
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/base_time_window
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Dũng (Trần Đình), dung.tran
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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 (4)
  • create(self, vals)
    @api.model
  • name_get(self)
    WORKAROUND since Odoo doesn't handle properly records where name is a selection
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/base_time_window
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTechnical Settings
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV
COMMITTERS
COMMITTERSAkim Juillerat, oca-travis, OCA-git-bot, Matthieu Méquignon
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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 (4)
  • create(self, vals)
    @api.model
  • name_get(self)
    WORKAROUND since Odoo doesn't handle properly records where name is a selection
  • 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)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-tools
PULL REQUEST
PULL REQUEST[17.0][MIG] base_time_window: Migration to 17.0 (#3030)