Commit ebd6876
committed
[IMP] util/orm: ensure working of auto-subscribe for upgrade purposes
At the end of an upgrade, the default '#Administrators' channel is sometimes
used to send upgrade-related information to admins, and a new one is created if
the default one is deleted.
In cases where this new channel is created, the auto-subscribe feature is used
to join admins to the channel. The community counterpart of this commit adds a
boolean that needs to be enabled in order to auto-subscribe users.
The goal of this commit is to ensure that the auto-subscribe of users is
correctly handled in such cases.
community: odoo/odoo#247715
enterprise: odoo/enterprise#117048
upgrade: odoo/upgrade#9436
task-48049911 parent 788ebfe commit ebd6876
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments