sysadminsmedia / homebox

A continuation of HomeBox the inventory and organization system built for the Home User
https://homebox.software
GNU Affero General Public License v3.0
1.21k stars 64 forks source link

Depreciation and depreciation schedule #39

Open ChrisQGeorge opened 5 months ago

ChrisQGeorge commented 5 months ago

What is the problem you are trying to solve with this feature?

The value of fixed assets in the system remains at the purchased price indefinitely without manually editing the prices. This leads to a situation where you have to choose between having an incorrect item value and the correct purchase price, or the correct value, but lose the purchase price information. This leads to a situation where you have to choose between having an incorrect item value and the correct purchase price or the correct value but losing the purchase price information.

What is the solution you are proposing?

The ability to depreciate the value of an asset with some fixed ruleset or depreciation schedule. E.g., if an asset's useful lifespan is five years and valued at $5000, its value would decrease by $83.34 every month if using the straight-line method.

What alternatives have you considered?

An additional attribute could be created to hold the original price, regular exports could be run on the whole inventory, and a Python script could be created to edit the exported CSV manually, but all the same logic that would go into making this script could also be used to implement this feature.

Additional context

No response

Contributions

a2brew commented 4 months ago

Love this idea!

Ryan-597 commented 4 months ago

For my own purposes however I don't need the monetary value, I'm only looking for the depreciation schedule with a notification if possible. For example item was bought on date will depreciate in 5 years. So I'll be notified in time when the item needs to be replaced. Great comment ChrisQGeorge