Skip to Content
Menu
This question has been flagged

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
Discard
Author

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
Discard
Related Posts Replies Views Activity
1
Jun 23
3161
1
Jun 22
2826
0
Mar 22
1697
6
Aug 24
4008
2
Oct 23
1595