OCA / multi-company

GNU Affero General Public License v3.0
100 stars 281 forks source link

[14.0][FIX] when action post an auto_generated invoice browse not made with sudo leads to access rights issues on origin invoice #525

Closed bguillot closed 9 months ago

bguillot commented 10 months ago

Hello,

This is a fix for multi company access issue. Without this patch, is you post an auto generated invoice, it will try to generate de pdf on the original invoice but with the wrong user.

We need to change the user even from the auto generated invoice.

OCA-git-bot commented 10 months ago

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

sebastienbeau commented 9 months ago

/ocabot merge patch

OCA-git-bot commented 9 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 14.0-ocabot-merge-pr-525-by-sebastienbeau-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

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