Editing an invoice reduces the stock ... again and again!!

Editing an invoice reduces the stock ... again and again!!

Hi,

Once the invoice is created, it reduces the stock. This is good.

But when I edit the invoice, for non-item things like, invoice date or due date or notes it tries to reduce the stock. Essentially everytime I save the invoice it reduces the stock inventory.

Is this how it supposed to work?