From 0fcf95f16c942d9841f2779ceb3da54b477be305 Mon Sep 17 00:00:00 2001 From: Mauro Amico Date: Tue, 3 Sep 2024 11:50:51 +0200 Subject: [PATCH] split news behaviors (comunicatistampa) (#273) * split news behaviors * changelog * fix test * add subobject in comunicatostampa * Update CHANGES.rst --- CHANGES.rst | 4 +++ .../contenttypes/behaviors/configure.zcml | 8 ++++++ .../behaviors/news_additional_fields.py | 25 +++++++++++-------- .../plone/contenttypes/events/common.py | 20 +++++++++++++++ .../plone/contenttypes/tests/test_ct_news.py | 2 +- 5 files changed, 47 insertions(+), 12 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 189272b8..2f6a8e9a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,10 @@ Changelog 6.2.15 (unreleased) ------------------- +- Add design.plone.contenttypes.behavior.news_base behavior (news metadata, without blocks) + [mamico] +- Add folder creation (multimedia + allegati) for "ComunicatiStampa" CT (if exists) + [mamico] - Add "Emolumenti a carico della finanza pubblica" to Persona Add "Dichiarazioni di insussistenza e incompatibilità" to Persona [lucabel] diff --git a/src/design/plone/contenttypes/behaviors/configure.zcml b/src/design/plone/contenttypes/behaviors/configure.zcml index 10d55afa..9c7ed276 100644 --- a/src/design/plone/contenttypes/behaviors/configure.zcml +++ b/src/design/plone/contenttypes/behaviors/configure.zcml @@ -38,6 +38,14 @@ marker=".news_additional_fields.INewsAdditionalFields" /> + +