Email aliasing is the feature in Odoo that is used to create a record through incoming mail. The simplest example of a mail alias is sales teams. You just need to send an email to sale@yourdomain.com and Odoo will create a new record for the crm.lead in the sales team. In this recipe, we will create one mail alias to create a book's borrowing record.
Managing the mail alias
Getting ready
For this recipe, we will be using the my_library module from the previous recipe Sending mail using the QWeb template. We will create our mail alias with the rent@yourdomain.com email address. If you send an email to this email address with the book's name in the subject, a record is created in the library.book.rent model.
...