b342fe84606464357b481092b1383fb0a76f1d8b
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>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%