diff options
| author | Romain Derie <rde@odoo.com> | 2019-05-14 11:17:45 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-05-14 11:17:45 +0000 |
| commit | c3a81c6c7eebe1c2a42d01ac35f541cefd2c8f0d (patch) | |
| tree | ae6ea1c8476de669ede2ae67fb39a70481590ee2 /addons/web/static/src/js/fields/field_utils.js | |
| parent | c92b0ce3036dde24b638bb3fb5dd89d7afbd759f (diff) | |
[FIX] website_forum, website_slides: correctly check if is admin
Before this commit and since 2f7c03d9ca580, the admin user has not ID=1
anymore.
Thus, some old condition were not doing what they were expected to.
Firstly, the admin was not considered as such on the forum, and if its karma
points were not high enough, it would not be possible to do anything for the
admin. Note that it was fixed in saas-12.1 with 1dac4131300
Secondly, some _search functions would not return a truthy value anymore.
closes odoo/odoo#33359
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/field_utils.js')
0 files changed, 0 insertions, 0 deletions
