Test Base Time Window

test_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/18.0/test_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
COMMITTERSWeblate, 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 OCA/server-tools:
    - base_time_window
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides unittests for module base_time_window.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • time_window_ids One2many → test.partner.time.window
    comodel_name='test.partner.time.window' inverse_name='partner_id' string='Time windows'
Public methods (1)
  • get_delivery_windows(self, day_name)
    Return the list of delivery windows by partner id for the given day :param day: The day name (see time.weekday, ex: 0,1,2,...) :return: dict partner_id:[time_window_ids, ]

New fields (1)
  • partner_id Many2one → res.partner
    index=True ondelete='cascade' required=True args: 'res.partner'
Public methods (1)
  • check_window_no_overlaps(self)
    @api.constrains('partner_id')
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/test_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 Transbot, oca-travis, Weblate, OCA-git-bot, hkapatel, Dũng (Trần Đình)
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_time_window
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)
  • time_window_ids One2many → test.partner.time.window
    comodel_name='test.partner.time.window' inverse_name='partner_id' string='Time windows'
Public methods (1)
  • get_delivery_windows(self, day_name)
    Return the list of delivery windows by partner id for the given day :param day: The day name (see time.weekday, ex: 0,1,2,...) :return: dict partner_id:[time_window_ids, ]

New fields (1)
  • partner_id Many2one → res.partner
    index=True ondelete='cascade' required=True args: 'res.partner'
Public methods (1)
  • check_window_no_overlaps(self)
    @api.constrains('partner_id')
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/test_base_time_window
VERSION
VERSION 1.0.2
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, Akim Juillerat, OCA Transbot, 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 OCA/server-tools:
    - base_time_window
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)
  • time_window_ids One2many → test.partner.time.window
    comodel_name='test.partner.time.window' inverse_name='partner_id' string='Time windows'
Public methods (1)
  • get_delivery_windows(self, day_name)
    Return the list of delivery windows by partner id for the given day :param day: The day name (see time.weekday, ex: 0,1,2,...) :return: dict partner_id:[time_window_ids, ]

New fields (1)
  • partner_id Many2one → res.partner
    index=True ondelete='cascade' required=True args: 'res.partner'
Public methods (1)
  • check_window_no_overlaps(self)
    @api.constrains('partner_id')