Closed cconard96 closed 2 years ago
I think this need a rebase (some commits should not be part of this PR).
Rebased
Just a side note, the changes does not match the specifications sold in the internal ref !23452. I don't think it's a bit deal since in the end it is the same feature (just configured differently) so we can keep this version +1. Maybe something got lost in translation or we didn't communicate the original specifications properly ?
I did not have access to the internal GLPI at the time. All I had to work with was "Automatic reset of inventory numbers" from the GitLab, and an export of the original ticket content. I had not seen any of the followups after the initial request. So, I didn't see the agreed on specs.
Based on #41 for GLPI 10 compatibility.
Adds a new "Auto-reset method" for itemtype-based and global indexes. This option is intended to be used when templates include date-related tags such as:
You can then set the auto-reset method to Yearly to have the index reset to 0 every year to get:
Current auto-reset options added: