Skip to Content
Menu

Custom Week Grouping (Sun–Sat)

by
Odoo
v 15.0 Third Party 4
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 113
Technical Name group_by_week_custom
LicenseAGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 113
Technical Name group_by_week_custom
LicenseAGPL-3
Important:This module is intended exclusively for Odoo Enterprise 15.0 And Community Edition .

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
Integration

Related Products

Need Help?

Email Us WhatsApp (KSA) 966 54227 3082 WhatsApp (India) 91 9360353170

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.