server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[19.0][MIG] attachment_delete_restrict: Migration to 19.0

Open AungKoKoLin1997 opened this issue 3 months ago • 0 comments

  • Remove the self.env.su condition in unlink, since it is always called with sudo() in Odoo 19. https://github.com/odoo/odoo/blob/98bae80f57733162c67593539ef47dfd0c6d8797/addons/mail/controllers/attachment.py#L98

@qrtl QT5667

AungKoKoLin1997 avatar Sep 29 '25 08:09 AungKoKoLin1997