Attachment Limit Reached

Hello,

I am adding a product to catalog. I have added one image for the product. Now, I want to add a datasheet, however, when I try to add an attachment, this error is shown:

image

I hace checked that in Customize Form, I have that limit to 2:

Or maybe I need to modify other form type?

UPDATE:

In order for it to work. I had to attach the datasheet first and then add the image. It seems this is a bug.

Thanks
Jaime

What version of ERPNext are you using?

BKM

Installed Apps

ERPNext: v12.18.0 (version-12)

Frappe Framework: v12.15.0 (version-12)

Image also count as 1 I think.

how big is the attachement ?

@TurkerTunali A noticed that, that is why I have set the limit to be 2. As I said, I could upload the image and the attachment if I upload the attachment first, and then the image.

Regards
Jaime

@msalim79 I don’t remember exactly but the sum of sizes was less than 1 MB.

And as I told, I could upload both the image and the attachment if I upload the attachment first.

Regards
Jaime

have a look at this -
https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/articles/changing-attachment-limits

@msalim79 What exactly should I look at? if you take a look of a screenshot I uploaded in the question, you will see the exact page as the form shown in that link, with the only difference that in my case, that form is in Spanish, but the form fields are in the same positions.

The doc type in this case is “Item”, right?

Regards
Jaime