I duplicated a quotation, added a file from ERPNext’s file browser (= file already present in ERPNext), make some changes to the document, saved it, and submitted it.
Normally, in the email mask that appears on submission of a document, I can select the uploaded files I want to add as an attachment to the email. But in this case there was only “Add attachments” and below this line there was nothing to select.
I tried four times with two different documents, but every time there were no attachments to select in the email mask.
Edit: I have an ERPNext account hosted on erpnext.com