Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3632 Widoki

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

Awatar
Odrzuć
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


Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 23
3842
1
cze 22
3593
0
mar 22
2428
6
sie 24
5090
2
paź 23
2214