Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3785 Weergaven

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
Annuleer
Auteur

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.

Beste antwoord

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
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
2
mrt. 22
9468
0
aug. 18
3469
0
feb. 25
1175
0
dec. 24
1111
2
nov. 24
5631