-
-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][IMP] account_asset_management, allow manual entry/editing of depreciation board #1733
base: 14.0
Are you sure you want to change the base?
Conversation
@Dranyel-Bosd Can you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 🎇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@etobella Can you please merge? |
5b74761
to
c41e49e
Compare
Improved coverage |
This PR has the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically LGTM, however I will ask comments from @JordiBForgeFlow as original author of the change 😉
ping @JordiBForgeFlow Can you have a look here / merge? 🙏 |
/ocabot merge patch |
Let's proceed with merge in order to avoid delay (we have given enough time) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for going late to the party, but I don't think we should merge as is.
- The number of commits is not acceptable.
- The implementation with so many new fields is not good.
I'm aborting the merge and check this deeply proposing the implementation today.
On my way to merge this fine PR! |
@etobella your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-1733-by-etobella-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if we really need this.
The depreciation table can already be edited before confirming an asset.
I also think we'll hit performance probelems for companies with a large niumber of assets by changing the store=true on a couple of fields (my largest customer has close to 100000 assets, but ecosoft has a customer with more)
@Saran440 what do you think ?
But we cannot edit a running asset. Which is quite common to do in some countries. @JordiBForgeFlow @kittiu What do you think? |
@bosd I also think that we need this. |
@pedrobaeza Which changes would you like to see? |
@bosd IMHO I think the current one that edit before submit is good enough. I think I am too concern with performance when dealing with lots of asset. Will this store false account into it? If not, I think this can be a good feature. |
c41e49e
to
8f89c5a
Compare
…ation board. - Enter manually the depreciation board. - Compute the depreciation board based on rules, but allow editing of lines. Some companies may need to manage a custom depreciation board because the depreciation schedule is too custom, or because it may have evolved over time and cannot follow a single method. In those cases it's better to manage a manual depreciation schedule. [account_asset_management][fix] allow updating the previous_id [account_asset_management][fix] comparison of dates
8f89c5a
to
4301ea4
Compare
Update: Changed the fields back to stored.
I have squashed the commits of @JordiBForgeFlow . Renamed the commit messages. |
@pedrobaeza Is this one ok now? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
I'm trying this, and it's very confusing to put manual depreciation board, add a line, and the error "You should at least have a starting depreciation line of Type 'Depreciation Base'." to appear, getting to a blocked situation, as that line can't be put manually nor computed. Another problem is the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bosd Functional Test.
When we use Allow editing the depreciation board, Days in depre will not calculated.
Forward port of #1208 continuation of #1237