This commits introduces a new mixin ``mail.composer.mixin`` used when sending emails or notifications based on a mail template. Main current purpose is to hide details related to subject and body computation and rendering based on a mail.template. It also give the base tools to control who is allowed to edit body, notably when dealing with templating language like jinja or qweb. It is meant to evolve in a near future with upcoming support of qweb and fine grain control of rendering access. Task ID-2534550 (Template usage improvement) Task ID-2477164 (Composer mixin) COM PR odoo/odoo#70889 ENT PR odoo/enterprise#18352 Co-Authored-By: Stéphane Debauche <std@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2.4 KiB
2.4 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_mail_performance_thread | access_mail_performance_thread | model_mail_performance_thread | 1 | 1 | 1 | 1 | |
| 3 | access_mail_performance_tracking_user | mail.performance.tracking | model_mail_performance_tracking | base.group_user | 1 | 1 | 1 | 1 |
| 4 | access_mail_test_simple_portal | mail.test.simple.portal | model_mail_test_simple | base.group_portal | 1 | 0 | 0 | 0 |
| 5 | access_mail_test_simple_user | mail.test.simple.user | model_mail_test_simple | base.group_user | 1 | 1 | 1 | 1 |
| 6 | access_mail_test_gateway_portal | mail.test.gateway.portal | model_mail_test_gateway | base.group_portal | 1 | 0 | 0 | 0 |
| 7 | access_mail_test_gateway_user | mail.test.gateway.user | model_mail_test_gateway | base.group_user | 1 | 1 | 1 | 1 |
| 8 | access_mail_test_track_portal | mail.test.track.portal | model_mail_test_track | base.group_portal | 0 | 0 | 0 | 0 |
| 9 | access_mail_test_track_user | mail.test.track.user.employee | model_mail_test_track | base.group_user | 1 | 1 | 1 | 1 |
| 10 | access_mail_test_activity_portal | mail.test.activity.portal | model_mail_test_activity | base.group_portal | 1 | 0 | 0 | 0 |
| 11 | access_mail_test_activity_user | mail.test.activity.user | model_mail_test_activity | base.group_user | 1 | 1 | 1 | 1 |
| 12 | access_mail_test_ticket_portal | mail.test.ticket.portal | model_mail_test_ticket | base.group_portal | 0 | 0 | 0 | 0 |
| 13 | access_mail_test_ticket_user | mail.test.ticket.user | model_mail_test_ticket | base.group_user | 1 | 1 | 1 | 1 |
| 14 | access_mail_test_composer_mixin_all | mail.test.composer.mixin.all | model_mail_test_composer_mixin | 0 | 0 | 0 | 0 | |
| 15 | access_mail_test_composer_mixin_user | mail.test.composer.mixin.user | model_mail_test_composer_mixin | base.group_user | 1 | 1 | 1 | 1 |
| 16 | access_mail_test_container_portal | mail.test.container_portal | model_mail_test_container | base.group_portal | 1 | 1 | 0 | 0 |
| 17 | access_mail_test_container_user | mail.test.container.user | model_mail_test_container | base.group_user | 1 | 1 | 1 | 1 |
| 18 | access_mail_test_cc_portal | mail.test.cc.portal | model_mail_test_cc | base.group_portal | 1 | 0 | 0 | 0 |
| 19 | access_mail_test_cc_user | mail.test.cc.user | model_mail_test_cc | base.group_user | 1 | 1 | 1 | 1 |
| 20 | access_mail_test_multi_company_user | mail.test.multi.company.user | model_mail_test_multi_company | base.group_user | 1 | 1 | 1 | 1 |
| 21 | access_mail_test_multi_company_portal | mail.test.multi.company.portal | model_mail_test_multi_company | base.group_portal | 1 | 0 | 0 | 0 |
| 22 | access_mail_test_track_compute | mail.test.track.compute | model_mail_test_track_compute | base.group_user | 1 | 1 | 1 | 1 |
| 23 | access_mail_test_track_monetary | mail.test.track.monetary | model_mail_test_track_monetary | base.group_user | 1 | 1 | 1 | 1 |