Server actions have several types available, but executing arbitrary Python code is surely the most flexible one. Used wisely, it can provide power users with the capability to implement advanced business rules from the user interface, without the need to create specific addon modules to install that code.
We will demonstrate using this type of server actions by implementing one that sends reminder notifications to the followers of a Project task.
We will need an Odoo instance with the Project app installed.
To create and try a Python code server action, follow these steps: