| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 177 |
| Technical Name |
axial_week_selector |
| License | OPL-1 |
| Website | https://www.axialtek.co.uk |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 177 |
| Technical Name |
axial_week_selector |
| License | OPL-1 |
| Website | https://www.axialtek.co.uk |
| Versions | 17.0 18.0 19.0 |
Week Selector Widget
Let users pick a whole week instead of hunting for a day. A year + week selector for any date field — it stores the first or last day of the chosen week.
Some things are planned by the week
Rotas, sprints, reports, payroll periods — many records belong to a week, not a specific day. This widget lets users think in weeks while the field still stores a clean, queryable date.
Pick a week, not a day
A year dropdown and a week dropdown replace the date picker. Each week is labelled Week 25 | 15/06/2026 so there is no guessing.
First or last day
Choose what gets stored: the first day (Monday) of the week by default, or the last day (Sunday) with a single option.
ISO-correct, always
Weeks follow ISO-8601 (Monday start, week 1 holds the first Thursday). 52- and 53-week years and leap years are handled automatically.
Two dropdowns, one clean date
The user selects a year and a week. Change the year and the week list rebuilds while the selected week is kept.
One attribute on any date field
Store the first day (default)
<field name="week_start" widget="week_select"/>
Store the last day (Sunday)
<field name="week_end" widget="week_select" options="{'last_day': true}"/>
Limit the year range
<field name="week_start" widget="week_select" options="{'year_range': 10}"/>
Configure it inline
| Option | Type | Default | What it does |
|---|---|---|---|
| last_day | boolean | false | Store the last day (Sunday) instead of the first day (Monday). |
| year_range | number | 100 | Years before/after the current year listed in the year dropdown. |
Built for Odoo 17
Odoo 17.0
OWL component
Any date field
No model changes
CE & Enterprise
Both editions
Depends: web
No extra modules
Week Selector Widget
By Axial Tech Ltd • Odoo 17 • OPL-1 License • €49 EUR
Support: https://www.axialtek.co.uk
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module