Skip to Content
Menu
This question has been flagged
1 Reply
2766 Views

I have upgraded my install of Odoo to the latest community version and I have lost the ability to attach documents to forms or retrieve previously saved documents.

All the old attachments are still available in the database, I can access them via “Settings->Technical->Database Structure->Attachments”

Does anyone have any idea what I can do to get the paperclip attachment icon, and attachments showing back on the forms (Sales Orders, Delivery Notes etc)

Avatar
Discard
Author

If i activate the developer mode

navigate to a Sales Order, use the bug icon to "Activate Assets Debugging", the page reloads with the paperclip icon there and the previously saved attachment visible.

But, as soon as i leave developer mode it disapears again.

Best Answer

Did you ever find a solution for this? We're having the same issue and your post is the only mention of this issue I have found online.

Avatar
Discard
Author

Did i find a solution to this?
Sort of....

I run Odoo and a PostGres Database in their own Docker Container, if i were to follow the instructions on how to upgrade the Odoo image here https://hub.docker.com/_/odoo then i end up with the attachments in the forms not showing up unless im in "developer" mode.

What i tried to do, was create a brand new Odoo docker container and link it to the existing Postgres database.

I didn't backup/restore, i just linked the new odoo container with the latest community release to the existing postgres db.

And.... everything worked, and is still working 5 months later.

I have no idea if this is the "correct" way to upgrade the container, according to the hub.docker its not, but it seems to have sold my issues here...

For future reference, our case turned out to be a user access rights issue. Activating developer mode, then going to Technical > Access Rights, and searching for 'attachment', we noticed the group 'Users / Internal Users' has no permission enabled for the attachments. Enabling them and restarting the odoo service fixed the issue for us.

Related Posts Replies Views Activity
2
Mar 22
8216
0
Aug 18
2540
0
Dec 24
31
2
Nov 24
1852
2
Oct 24
338