Update some method calls to avoid deprecation warnings
This commit is contained in:
parent
dc28b1337d
commit
6af5157b4e
4 changed files with 12 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue