Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3629 Представления

Good morning, I would like to post a doubt, I'm migrating my Odoo 10 to Odoo 15, I copied the filestore folder to my Odoo 15.

The problem is the next one, I have a custom module called hr.inventario, this module has like 200 PDFs stored, I could import all the PDFs from ir_attachment with CSV but not the datas field, and I imported all my records from hr.inventario with that attachments linked to the records, but I can't access to the content of the PDFs.


Is possible generate the data of the PDFs reading the store_fname? Or any solution for generate the binary data from the filestore?

Thank you so much!!

Аватар
Отменить
Автор

Hi Bella, thanks for your answer, I are different databases, i'm just migrating data from one to another, I don't understand what do you mean with the mime-type, but when I try to upgrade the base module I get this error:


The operation cannot be completed: another model requires the record being deleted. If possible, archive it instead. Model: Model Access (ir.model.access), Constraint: ir_model_access_group_id_fkey


Лучший ответ

Hi

After Migrating the database from V10 to V15, Remove the attachments of mime-type javascript, and CSS from your migrated database, then move your filestore to its correct path in the server.

Then Try to Upgrade the base Module in odoo . 




Regards

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 23
3839
1
июн. 22
3592
0
мар. 22
2422
6
авг. 24
5087
2
окт. 23
2212