Allow changing the asset filter list

This commit is contained in:
2023-02-11 18:46:26 +00:00
parent da9f32e882
commit 287facbab2
8 changed files with 178 additions and 12 deletions

View File

@@ -411,11 +411,6 @@ class AssetGroup(models.Model):
name = models.CharField(max_length=255)
description = models.TextField(null=True, blank=True)
# Account for checking pairs on children if specified
account = models.ForeignKey(
Account, on_delete=models.PROTECT, null=True, blank=True
)
# Dict like {"RUB": True, "USD": False}
allowed = models.JSONField(null=True, blank=True, default=dict)