From 914f9b0d06f8352b4396c084de466451105ba242 Mon Sep 17 00:00:00 2001 From: Guillaume Englert Date: Thu, 31 Oct 2024 09:28:47 +0100 Subject: [PATCH] Small fixes in 'billing.bricks'. --- creme/billing/bricks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/creme/billing/bricks.py b/creme/billing/bricks.py index 5fe333021f..a11b6e7c99 100644 --- a/creme/billing/bricks.py +++ b/creme/billing/bricks.py @@ -81,7 +81,7 @@ class TemplateBaseBarHatBrick(BillingBarHatBrick): download_button = False -class _LinesBrick(SimpleBrick): +class _LinesBrick(Brick): dependencies = (Relation, CreditNote, Quote, Invoice, SalesOrder, TemplateBase) relation_type_deps = (constants.REL_SUB_HAS_LINE, ) target_ctypes = (CreditNote, Quote, Invoice, SalesOrder, TemplateBase) @@ -373,7 +373,7 @@ class BillingExportersBrick(Brick): verbose_name = _('Exporters') template_name = 'billing/bricks/exporters.html' dependencies = (ExporterConfigItem,) - configurable = False + # configurable = False # permissions = 'billing.can_admin' => auto by creme_config views def detailview_display(self, context):