Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2963 Ansichten

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
Verwerfen
Autor

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


Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juni 23
3174
1
Juni 22
2837
0
März 22
1714
6
Aug. 24
4035
2
Okt. 23
1604