跳至内容
菜单
此问题已终结
1 回复
3846 查看

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)

形象
丢弃
编写者

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.

最佳答案

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.

形象
丢弃
编写者

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.

相关帖文 回复 查看 活动
2
3月 22
9554
0
8月 18
3516
0
7月 25
1236
0
12月 24
1207
2
11月 24
5803