here web.assets stored in ir_attachment model. in my system i implement amazon s3 bucket for store external files in amazon. so when i store a file its store a url in ir_attachemnt not file because its stored in amazon s3 bucket so it will provide a link and the link will store in ir_attachment. and i implement a logic that whatever insert in ir_attachment it will forcely type set as url and the web.assets store url in ir_attachment and this expect binary but found url thats why my assets broken and white screen show. so when white screen show i uninstall the module where ir_attachment forcely type url set function in here. so i need to uninstall this module by db query and need to delete the web.assets stored in ir_attachment only which type is url. then my white screen resolved. so how can I fix this because i need the s3 url also in my system to store file in here and if i set the type as binary and store the url in url field then the problem i can not preview the file. so i need to type set as url so how can I resolve this issue anyone have any idea about that for this white screen issue when web.assets find type url for ir_attachment.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
571
Weergaven
Check this module may help you:
apps.odoo.com/apps/modules/17.0/aws_s3_auto_attachments
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden