If you create an asset and create it's lines, and after run it. If you have any move create yet and need to edit the asset, as is not possible to draft it, If you try the edition throw the update wizard, you can't do it because the "date" domain.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Create an asset with value 1.000€ and start date 14/12/2020 and end date 31/11/2021, and have defined a monthly frequency
Click "create lines", it creates 12 lines with the first date 31/12/2020.
Click "run".
If before you click the wizard to create the move for assets need to update the amount of the asset, for any reason, how its not possible to draft the asset, need to use the "update" wizard. If you click it:
Fill the new amount to 1.200€ and in the next step, how the date will not be in the domain you could not finish the update.
latest move date: will be 30/12/2020, because any move are created yet.
next depreciation date: will be 31/12/2020.
And the domain say that the date will be great and less, but not equal.
One of our users found with the same scenario this week.
After clicking the run she realized that entered a wrong data (she did not specify) but no move have been created for the lines.
We solved by updating the state of the asset to draft in the database, who let she edit remove the lines, update the values as required and move the asset back to running.
So I'm wondering if It won't be better to allow a transition from running to draft when any of the asset lines have a move set.
In any case, I think we should mark this a new feature because updating the asset is not the expected to be done when there are no moves. With my proposal we should be able to hide the button to prevent clicking when the lines haven't been deprecated yet.
So I'm wondering if It won't be better to allow a transition from running to draft when any of the asset lines have a move set.
In any case, I think we should mark this a new feature because updating the asset is not the expected to be done when there are no moves. With my proposal we should be able to hide the button to prevent clicking when the lines haven't been deprecated yet.