Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 113 |
Technical Name |
group_by_week_custom |
License | AGPL-3 |
Custom Week GroupâBy (SunâSat)
Align Odooâs âGroup By ⺠Weekâ with the SundayâtoâSaturday business calendar
Overview
Odooâs builtâin âWeekâ grouping starts its week on Monday.
For many businesses, financial and operational reports need to follow the SundayâSaturday calendar instead.
This lightweight patch adjusts the underlying group_by=week
algorithm, so list, kanban and pivot views instantly reflect your preferred week definitionâno extra clicks, wizards, or custom fields.
Key Features & Benefits
- â SundayâSaturday week logic in all views
- â
Correct ISOâstyle display (
'W'w yyyy
) - â Timeâzone aware for dateâtime fields
- â Zero impact on existing data or workflows
- â Fully ORMâsafe; follows Odoo patching guidelines
- â Enable globally or per specific models
- â Works on Enterprise edition 15
- â Compatible with multiâcompany setups
- â Minimal footprint â no extra menus
- â Ideal for US, GCC & retail fiscal calendars
Configuration
Optionâ¯A â Global
Activate the âSet Globallyâ toggle in Settingsâ¯âºâ¯Technicalâ¯âºâ¯Parameters. Every model that supports group_by=week
now uses the SunâSat calendar.
Optionâ¯B â Per Model
Select one or more models (e.g. account.move, sale.order) in the provided list. Only those models adopt the new week logic; others remain unchanged.
Changes take effect immediatelyâ¯ââ¯just refresh your browser tab.
Screenshots



Our Odoo Services

Customization

Implementation

Support

Please log in to comment on this module