Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2942 Prikazi

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!!

Avatar
Opusti
Avtor

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


Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 23
3163
1
jun. 22
2827
0
mar. 22
1698
6
avg. 24
4010
2
okt. 23
1595