Skip to content
Snippets Groups Projects
Commit cf6aed79 authored by Raphael Collet's avatar Raphael Collet
Browse files

[FIX] base: delete orphan translations without access right errors


Deleting an orphan translation is mostly impossible, since it requires
'write' access on the corresponding records, and checking access rights
fails because the records no longer exist!

Simply enable operations on orphan translations by ignoring the
corresponding records that do not exist.  And make sure that the patch
does not allow to create orphan translations.

closes odoo/odoo#86763

X-original-commit: 54a19cdb
Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
Co-authored-by: default avatarMartin Trigaux <mat@odoo.com>
parent 33fa43f7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment