Skip to content

Commit

Permalink
Small fixes in 'billing.bricks'.
Browse files Browse the repository at this point in the history
  • Loading branch information
genglert committed Oct 31, 2024
1 parent eb81602 commit 914f9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions creme/billing/bricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 914f9b0

Please sign in to comment.