OCA / project

Odoo Project Management and Services Company Addons
https://odoo-community.org/psc-teams/project-service-28
GNU Affero General Public License v3.0
275 stars 775 forks source link

[16.0][FIX] project_timesheet_time_control: Avoid access error with ir.model #1330

Closed victoralmau closed 2 weeks ago

victoralmau commented 2 weeks ago

Avoid access error with ir.model

Only "advanced" users have read access to ir.model, for this reason, we need to apply .sudo()

Please @pedrobaeza can you review it?

@Tecnativa

OCA-git-bot commented 2 weeks ago

Hi @ernestotejeda, some modules you are maintaining are being modified, check this out!

OCA-git-bot commented 2 weeks ago

This PR looks fantastic, let's merge it! Prepared branch 16.0-ocabot-merge-pr-1330-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 2 weeks ago

Congratulations, your PR was merged at bf300d406de44055eb83faf12d009df8bfc44de4. Thanks a lot for contributing to OCA. ❤️