Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Technical Settings
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 08:42:58
Authors
Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Khôi (Kiên Kim)
Odoo dependencies
OCA/server-tools:
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description
This module provides unittests for module base_time_window.

Code Analysis

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)
  • 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')

Loading…

Loading…