BOM does not allow quantity of Zero for listed items

I found this old message from 2013:

I tried the suggestion but it didn’t help.

Setup → Customize → Customize Form → BOM Item
“Mandatory” was checked, I deselected it, saved, and then tried changing my BOM to remove quantity. I still get the “Item Quantity needed for…” popup when I try to save.

Note: The BOM Item popup would always let me enter and click “Done” for an item with zero-quantity, but I could never save the resulting BOM after it was built. That’s where the popup with “Item Quantity needed for…” would come up. It seems somewhere else in the system it’s checking those quantities.

There is a validation built in, I believe it will have to be removed by the ERPNext team

Drat. It looked like a developer answering the previous thread, I was hoping they would know how this should work and that i’m just missing something.

I even tried removing the “Must be Whole Number” check from the unit, just in case “whole numbers” didn’t include “zero” for some reason, but no luck.

Opened a ticket in GitHub as well.

https://github.com/frappe/erpnext/issues/5464