component_event
Implements an Observer-pattern event system for Odoo components that lets models trigger lifecycle notifications to connector listeners.
Key Features
- base: adds an `_event` helper and fires `on_record_create`, `on_record_write`, and `on_record_unlink` notifications tied to lifecycle hooks.
- events: provides an EventWorkContext so listeners can operate without a collection while still resolving components when needed.
- events: implements a cached `base.event.collecter` component that gathers listener callables by event name.
- event listeners: supplies the `base.event.listener` component base class that auto-registers `on_` methods as event handlers.
- event listeners: delivers a `skip_if` decorator allowing listeners to bypass execution when a predicate matches.
- events: supports limiting listeners to particular models or collections via `_apply_on` and `_collection` attributes.