Create Stock management

Hi everyone, I’m currently using invoiceplane to create invoices but I want to add extra feature that when i create a Product i want to add how many pieces of the product that i have for example i have 10 licenses key and if i sell one of them i want the system to update the amount of the licenses automatically and set the amount to 9.

Anyone have an idea how to make that happen or Anyone can support me with this? That’s will be a great and i will be thankful for it because it’s will save me

Thank you everyone :pray: