diff --git a/spp_studio_events/README.rst b/spp_studio_events/README.rst index 7a9f5f71..13665098 100644 --- a/spp_studio_events/README.rst +++ b/spp_studio_events/README.rst @@ -137,6 +137,25 @@ Dependencies Changelog ========= +19.0.2.0.2 +~~~~~~~~~~ + +- fix(views): the basic Create Event wizard's step 1 is now + self-explanatory for Studio-backed event types. The misleading raw + JSON field is hidden; an info banner announces the next stage; the + "Create Event" button is renamed "Next" so users know there's a second + step where the structured fields appear. Non-Studio event types keep + the original step-1 UI unchanged. Backed by a new computed + ``is_studio_event_type`` boolean on ``spp.create.event.wizard``. + +19.0.2.0.1 +~~~~~~~~~~ + +- fix(views): clicking the **Events** smart button on a Studio Event + Type form no longer crashes with ``View types not defined tree``. + ``action_view_events`` returned ``view_mode="tree,form"``, but Odoo 19 + renamed ``tree`` to ``list``; switched to ``view_mode="list,form"``. + 19.0.2.0.0 ~~~~~~~~~~ diff --git a/spp_studio_events/__manifest__.py b/spp_studio_events/__manifest__.py index 33478458..b49d023d 100644 --- a/spp_studio_events/__manifest__.py +++ b/spp_studio_events/__manifest__.py @@ -1,7 +1,7 @@ # pylint: disable-next=pointless-statement { "name": "OpenSPP Studio - Events", - "version": "19.0.2.0.0", + "version": "19.0.2.0.2", "category": "OpenSPP/Configuration", "summary": "No-code event type designer for data collection", "author": "OpenSPP.org", @@ -22,6 +22,7 @@ # Wizards "wizard/event_type_wizard_views.xml", "wizard/event_data_entry_wizard_views.xml", + "wizard/create_event_wizard_views.xml", # Data "data/event_field_templates.xml", ], diff --git a/spp_studio_events/models/studio_event_type.py b/spp_studio_events/models/studio_event_type.py index 6862d325..2ff78ec0 100644 --- a/spp_studio_events/models/studio_event_type.py +++ b/spp_studio_events/models/studio_event_type.py @@ -723,7 +723,7 @@ def action_view_events(self): "type": "ir.actions.act_window", "name": _("Events: %(name)s", name=self.name), "res_model": "spp.event.data", - "view_mode": "tree,form", + "view_mode": "list,form", "domain": [("event_type_id", "=", self.spp_event_type_id.id)], "context": {"default_event_type_id": self.spp_event_type_id.id}, } diff --git a/spp_studio_events/readme/HISTORY.md b/spp_studio_events/readme/HISTORY.md index 4aaf9afe..19e03e55 100644 --- a/spp_studio_events/readme/HISTORY.md +++ b/spp_studio_events/readme/HISTORY.md @@ -1,3 +1,11 @@ +### 19.0.2.0.2 + +- fix(views): the basic Create Event wizard's step 1 is now self-explanatory for Studio-backed event types. The misleading raw JSON field is hidden; an info banner announces the next stage; the "Create Event" button is renamed "Next" so users know there's a second step where the structured fields appear. Non-Studio event types keep the original step-1 UI unchanged. Backed by a new computed `is_studio_event_type` boolean on `spp.create.event.wizard`. + +### 19.0.2.0.1 + +- fix(views): clicking the **Events** smart button on a Studio Event Type form no longer crashes with `View types not defined tree`. `action_view_events` returned `view_mode="tree,form"`, but Odoo 19 renamed `tree` to `list`; switched to `view_mode="list,form"`. + ### 19.0.2.0.0 - Initial migration to OpenSPP2 diff --git a/spp_studio_events/static/description/index.html b/spp_studio_events/static/description/index.html index 24f52786..675f8a11 100644 --- a/spp_studio_events/static/description/index.html +++ b/spp_studio_events/static/description/index.html @@ -516,6 +516,27 @@

Changelog

+

19.0.2.0.2

+ +
+
+

19.0.2.0.1

+ +
+

19.0.2.0.0