TIP: You can type at any time to perform a new search.
Test Base Time Window
test_base_time_window · OCA/server-tools
- 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
- 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_idsOne2many → test.partner.time.windowcomodel_name='test.partner.time.window'inverse_name='partner_id'string='Time windows'
-
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_idMany2one → res.partnerindex=Trueondelete='cascade'required=True args: 'res.partner'
-
check_window_no_overlaps(self)@api.constrains('partner_id')
Loading…
Loading…