Closed yajo closed 3 years ago
/ocabot merge patch
This PR looks fantastic, let's merge it! Prepared branch 13.0-ocabot-merge-pr-50-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at 74c3f38e740f66e0eb4b176d739362e7d44e301b. Thanks a lot for contributing to OCA. ❤️
As the controller is
auth="none"
, sometimes there's no user. This wasn't a problem on v12 wheresudo()
appliedSUPERUSER_ID
by default (below, line 35). In v13 we need to add it manually to avoid some situations whereself.env.uid == False
.@Tecnativa