Update some method calls to avoid deprecation warnings

This commit is contained in:
Lance Edgar 2022-01-08 19:48:14 -06:00
parent dc28b1337d
commit 6af5157b4e
4 changed files with 12 additions and 11 deletions

View file

@ -455,7 +455,7 @@ class MasterView(View):
# hide "local only" grid filter, unless global access allowed
if self.secure_global_objects:
if not self.has_perm('view_global'):
grid.hide_column('local_only')
grid.remove('local_only')
grid.remove_filter('local_only')
self.configure_column_product_key(grid)