跳至内容
菜单
此问题已终结

I attached a smart button in the form view of my custom module and it gave me the ability to upload files one-by-one. Is there anyway I can upload multiple files at once?

形象
丢弃
最佳答案

There is an OCA module web_drop_target which allows us to drag-drop the multiple files and create attachments.

Give it a try and I think this module may be useful in your case.

形象
丢弃
编写者

Thank you, but it's only available for V11 and V12 but I am currently using V13.

编写者

As a workaround, I uploaded the files using the Attachments button on the chatter form. It would've been better if there's a proper way of uploading these files since I need to traverse each pdf to extract and write the details inside the pdf into a one2many line.

You did not mention the Odoo version in your question.

Here is the v13 module: https://github.com/OCA/web/tree/13.0/web_drop_target

编写者

I should've mentioned it, it was an honest mistake. I will try looking at this @Sudhir. Thank you for this comment!

相关帖文 回复 查看 活动
0
8月 21
1978
0
6月 22
3037
1
8月 21
5594
0
3月 16
3396
0
2月 16
3664