Test Base Time Window
test_base_time_window · OCA/server-tools
Health
54/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 26 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
0 views
0 HTTP endpoints
Description
This module provides unittests for module base_time_window.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
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)
-
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…
Loading…