    [FIX] mail.message: checking rules on deleted records.     This change avoid to raise 'Access Denied' when accessing to messages related to deleted documents, which user had access right on.
    [FIX] mail.message: checking rules on deleted records.
    This change avoid to raise 'Access Denied' when accessing to messages related to deleted documents, which user had access right on.

    Example: user A can see messages related to sale.order SO1, even if A is not directly notified.
    Someone deletes SO1.
    'A' opens 'inbox', 'check_access_rule' is called, 'mids' is empty, 'document_related_ids' is empty, 'other_ids' is not empy -> exception is raised

ehirt/odoo,ehirt/odoo,Antiun/odoo,Antiun/odoo,Daniel-CA/odoo,Antiun/odoo,spadae22/odoo,Antiun/odoo,factorlibre/OCB,ehirt/odoo,markeTIC/OCB,spadae22/odoo,Daniel-CA/odoo,spadae22/odoo,factorlibre/OCB,Daniel-CA/odoo,Antiun/odoo,Antiun/odoo,markeTIC/OCB,ehirt/odoo,ehirt/odoo,Daniel-CA/odoo,markeTIC/OCB,factorlibre/OCB,factorlibre/OCB,spadae22/odoo,markeTIC/OCB,markeTIC/OCB,factorlibre/OCB,ehirt/odoo,spadae22/odoo,Antiun/odoo,spadae22/odoo,markeTIC/OCB,Daniel-CA/odoo,Daniel-CA/odoo,factorlibre/OCB,spadae22/odoo,Daniel-CA/odoo,factorlibre/OCB,markeTIC/OCB,ehirt/odoo