Issue 9939

Allow update asset even lines have no move yet
Nosy list
bernatnan, ced, reviewbot
Assigned to

Created on 2020-12-14.17:17:17 by bernatnan, last changed 1 month ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-12-22.23:40:19

I'm not sure it is a valid scenario. For me if you need to update the value of the asset for after the first line, you need first to post this line.

Author: [hidden] (bernatnan)
Date: 2020-12-14.18:13:32

For example:
- Today is 14/12/2020.
- 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.

Author: [hidden] (bernatnan)
Date: 2020-12-14.17:17:16

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.

Date User Action Args
2020-12-22 23:40:19cedsetmessages: + msg63573
nosy: + ced
2020-12-15 16:10:50reviewbotsetmessages: + msg63262
2020-12-14 18:13:32bernatnansetmessages: + msg63089
2020-12-14 17:49:43reviewbotsetmessages: + msg63088
nosy: + reviewbot
2020-12-14 17:23:36bernatnansetkeyword: + review
reviews: 343161002
2020-12-14 17:17:17bernatnancreate

Showing 10 items. Show all history (warning: this could be VERY long)