From c3f86008113b93d932902fa13f18dfee23c0feed Mon Sep 17 00:00:00 2001 From: fngaha Date: Tue, 23 Apr 2024 11:38:50 +0200 Subject: [PATCH] Allow other procedures to generate list 220 URBLIE-423 --- news/URBLIE-423.internal | 2 ++ src/Products/urban/viewlets/urbain_220.py | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 news/URBLIE-423.internal diff --git a/news/URBLIE-423.internal b/news/URBLIE-423.internal new file mode 100644 index 000000000..cbfbd485b --- /dev/null +++ b/news/URBLIE-423.internal @@ -0,0 +1,2 @@ +Allow other procedures to generate list 220 +[fngaha] \ No newline at end of file diff --git a/src/Products/urban/viewlets/urbain_220.py b/src/Products/urban/viewlets/urbain_220.py index 7d2b2ad86..70ae798df 100644 --- a/src/Products/urban/viewlets/urbain_220.py +++ b/src/Products/urban/viewlets/urbain_220.py @@ -49,6 +49,14 @@ def available(self): "codt_buildlicences", "codt_integratedlicences", "codt_uniquelicences", + "codt_parceloutlicences", + "codt_article127s", + "codt_integratedlicences", + "codt_uniquelicences", + "envclassones", + "envclasstwos", + "roaddecrees", + "inspections", ] allowed = self.context.id in allowed_contexts faceted_context = bool(IFacetedNavigable.providedBy(self.context))