When using chatter, you can also add activities. These are used to plan your actions on the record. It is kind of a To-Do-List for each record. In this recipe, you will learn how to enable activities on any model.
Managing activities on documents
Getting ready
For this recipe, we will be using the my_library module from the previous recipe Managing chatter on documents. We will add activities on the library.book.rent model.
How to do it...
Follow these steps to add activities on the library.book.rent model:
- Inherit mail.activity.mixin in the Python definition of the library...