To Reproduce ============= - share a project with a portal user (with editing rights) - connect to portal with this user and try to group tasks by deadline Problem ======= An access error is raised stating that this user doesn't have right to read `deadline_field:week` field. The issue comes from this line : https://github.com/odoo/odoo/blob/42cb8ad0a31162d9d1b93e4eae0562c89685fe3c/addons/project/models/project.py#L1621 where `fields` contains `date_deadline:week` but `self.SELF_READABLE_FIELDS` contains `date_deadline` that's why `date_deadline:week` will remain in `unauthorized_fields` . Solution ========= To solve the issue we take only the field name from the groupby when computing `fields_list` that will be checked by `_ensure_fields_are_accessible` opw-2949047 closes odoo/odoo#98953 X-original-commit: 1d0a62d0d235a4f0686e17033bb9d144d5583907 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: abla001 <abla@odoo.com>