Browse Source
As the controller is `auth="none"`, sometimes there's no user. This wasn't a problem on v12 where `sudo()` applied `SUPERUSER_ID` by default (below, line 35). In v13 we need to add it manually to avoid some situations where `self.env.uid == False`. @Tecnativapull/50/head
Jairo Llopis
4 years ago
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue