This question has been flagged
2442 Views

I've been running into a really weird bug in our production env, where seemingly at random (I've been trying really hard to find a pattern here) some of the attachments get saved into incorrect path, which is otherwise the same as the correct default path (/home/odoo/.local/share/Odoo/filestore/<database_name>) except there's an extra space character at the end of the database name. This only occurs when saving those attachments, when trying to read, Odoo tries to read from the correct path (sans the space) and obviously produces an error.


Any pointers?

Avatar
Discard