From b6db29397aa518cd084bba3f5933644680604e01 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 Mar 2021 11:14:48 +0100 Subject: Container: manage calculated weight --- ishtar_common/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 0e5a39c1f..180acd626 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -748,6 +748,9 @@ class IshtarSiteProfile(models.Model, Cached): "Only manage association of operations, context records " "and finds.") ) + calculate_weight_on_full = models.BooleanField( + _("Container - calculate weight only when all find has a weight"), + default=False) config = models.CharField( _("Alternate configuration"), max_length=200, choices=ALTERNATE_CONFIGS_CHOICES, -- cgit v1.2.3