Files
odoo_source/addons/test_mail_full/security/ir.model.access.csv
T
Pierre-Yves Dufays c3873cb1e1 [IMP] mail, rating, various: support base rating feature in mail.thread
Various: im_livechat, rating, test_mail_full, website_{sale|slides}

Allows to rate any record extending mail_thread. This change was needed because
rating template could be created for any models, even those not inheriting from
rating.mixin. If sent on a record of such model, it was crashing when the
controllers using rating mixin features were used. This is no longer the case.

This commit moves the code from the mixin rating.mixin to mail.thread and
adapts the test for testing rating submission with and without the mixin.

Base behavior accepts rating and provides an access to ratings through the
'rating_ids' field. Rating.mixin inherits now from mail.thread to ease
computation, and adds statistics and some advanced capabilities.

Inheritance of some model have been reordered now that rating is build on
top of mail.thread.

Task-2674649

Part-of: odoo/odoo#103966
2023-02-23 14:53:50 +01:00

1.1 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_mail_test_portal_allmail.test.portal.allmodel_mail_test_portal0000
3access_mail_test_portal_usermail.test.portal.usermodel_mail_test_portalbase.group_user1111
4access_mail_test_portal_no_partner_allmail.test.portal.no.partner.allmodel_mail_test_portal_no_partner1000
5access_mail_test_portal_no_partner_usermail.test.portal.no.partner.usermodel_mail_test_portal_no_partnerbase.group_user1111
6access_mail_test_rating_allmail.test.rating.allmodel_mail_test_rating0000
7access_mail_test_rating_portalmail.test.rating.portalmodel_mail_test_ratingbase.group_portal1000
8access_mail_test_rating_usermail.test.rating.usermodel_mail_test_ratingbase.group_user1111
9access_mail_test_rating_thread_allmail.test.rating.thread.allmodel_mail_test_rating_thread0000
10access_mail_test_rating_thread_portalmail.test.rating.thread.portalmodel_mail_test_rating_threadbase.group_portal1000
11access_mail_test_rating_thread_usermail.test.rating.thread.usermodel_mail_test_rating_threadbase.group_user1111