The issue: A new fix has been introduced to solve the mimtype issue with creating an XML file: https://github.com/odoo/odoo/pull/124507 since the attachment create_uid now is the SUPERUSER_ID, when a user with the accounting role (not admin) tried to register a payment on any account.move type (invoice, credit note...) an access error is thrown The fix: remove the unused attachment as sudo opw-3787008 closes odoo/odoo#159985 X-original-commit: 60dd56bf3f67cc944918ad4c23fa1ef5f2036e55 Signed-off-by: William André (wan) <wan@odoo.com>