fix-my devices - import new mixin of visible orgs

This commit is contained in:
2025-11-02 17:06:19 +03:30
parent a45cdc2678
commit 6a4cb0f618
5 changed files with 54 additions and 19 deletions

View File

@@ -3,6 +3,7 @@ VISIBILITY_MAP = {
'organization': 'id',
'quota': ['registerer_organization', 'assigned_organizations'],
'quotastats': ['quota__registerer_organization', 'quota__assigned_organizations'],
'productstats': 'organization',
'quotadistribution': ['assigner_organization', 'assigned_organization'],
'inventoryentry': 'organization',
'inventoryquotasaletransaction': 'organization',