Wednesday, February 2, 2022
1 change
Enhancements to existing features
Asset management now uses one combined wizard for actions such as pausing, modifying, resuming, selling, or disposing assets, making the workflow simpler for users. The update also adds asset cancellation with safeguards around locked periods and proper handling of existing depreciation entries.
Original PR description
[IMP] account_asset: clean UI by combining the wizards into a super wizard
Assets have a number of wizards to pause, modify/resume, sell/dispose. To clean the UI, all these wizards are merged into one wizard with a dropdown to choose the modification method
Task-2700187
[IMP] account_asset: add the ability to cancel the depreciation entries of an asset
If there are entries before the lock date, an error message is raised preventing cancellation.
if the entries are hashed, all posted depreciations are reversed
otherwise, the posted entries are deleted and the asset can be reset to draft.
Cancelled assets have the original value set to 0, and the state = cancelled
Task-2700187