feat(setting): Enable super admin to set ALL manufacturer/publishers as global
sets is_global=true and creates manufacturers/publishers in global organization !12
This commit is contained in:
@ -60,6 +60,12 @@ class AppSettings(AppSettingsCommonFields, SaveHistory):
|
||||
default = False,
|
||||
)
|
||||
|
||||
manufacturer_is_global = models.BooleanField (
|
||||
verbose_name = 'All Manufacturer / Publishers are global',
|
||||
blank= False,
|
||||
default = False,
|
||||
)
|
||||
|
||||
software_is_global = models.BooleanField (
|
||||
verbose_name = 'All Software is global',
|
||||
blank= False,
|
||||
@ -92,6 +98,7 @@ class AppSettings(AppSettingsCommonFields, SaveHistory):
|
||||
__all__ = [
|
||||
'device_model_is_global',
|
||||
'device_type_is_global',
|
||||
'manufacturer_is_global',
|
||||
'software_is_global',
|
||||
'software_categories_is_global',
|
||||
'global_organization',
|
||||
|
Reference in New Issue
Block a user