In my_library, we have a state field to indicate the current status of the book rent record. This state field is limited to the statuses ongoing or returned and it is not possible to add a new state to the business process. To avoid this, we can use the many2one field to give flexibility to designing the kanban workflow of the user's choice.
Managing dynamic record stages
Getting ready
For this recipe, we will be using the my_library module from Chapter 9, Advanced Server-Side Development Techniques. That module manages books and their categories. It also records book loans. We added an initial module, Chapter13/r0_initial_module/my_library, in the GitHub repository for this book to help you get started: https://github...