Skip to content

Commit 8cb1d29

Browse files
author
Adrià Pallejà
committed
Fix default week
1 parent 9dcd98c commit 8cb1d29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shift_attendance/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "Elouan Le Bars, Coop IT Easy SC, Odoo Community Association (OCA)",
1010
"website": "https://github.com/beescoop/Obeesdoo",
1111
"category": "Cooperative management",
12-
"version": "16.0.1.0.0",
12+
"version": "16.0.1.0.2",
1313
"depends": [
1414
"eater",
1515
"member_card",

shift_attendance/models/attendance_sheet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def _compute_week(self):
274274
if shift.task_id.planning_id.name:
275275
rec.week = shift.task_id.planning_id.name
276276
else:
277-
rec.week = 1
277+
rec.week = "Default week"
278278

279279
@api.depends("notes")
280280
def _compute_is_annotated(self):

0 commit comments

Comments
 (0)