account-financial-tools icon indicating copy to clipboard operation
account-financial-tools copied to clipboard

[10.0][FIX] Fix account_asset_management

Open acsonefho opened this issue 5 years ago • 20 comments

Fix module account_asset_management.

How to reproduce: Create an asset with a residual amount at 0. Then "remove"/sell it with a price. Validate the wizard and check account move lines generated. You can notice that the selling amount doesn't appear anywhere.

Fix: During the "remove", generate move lines about the selling price.

Note for reviewers: The diff seems very strange. I only remove the if residual_value: but git see that like 2 different parts (1 creation then a big delete). But only the indent change.

acsonefho avatar Nov 20 '19 13:11 acsonefho

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

OCA-git-bot avatar Dec 24 '19 09:12 OCA-git-bot

/ocabot merge patch

AaronHForgeFlow avatar Mar 25 '20 18:03 AaronHForgeFlow

On my way to merge this fine PR! Prepared branch 10.0-ocabot-merge-pr-913-by-AaronHForgeFlow-bump-patch, awaiting test results.

OCA-git-bot avatar Mar 25 '20 18:03 OCA-git-bot

/ocabot merge patch

AaronHForgeFlow avatar Mar 28 '20 09:03 AaronHForgeFlow

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 10.0-ocabot-merge-pr-913-by-AaronHForgeFlow-bump-patch, awaiting test results.

OCA-git-bot avatar Mar 28 '20 09:03 OCA-git-bot

@AaronHForgeFlow your merge command was aborted due to failed check(s), which you can inspect on this commit of 10.0-ocabot-merge-pr-913-by-AaronHForgeFlow-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.

OCA-git-bot avatar Mar 28 '20 09:03 OCA-git-bot

CI will not be green after rebase :(

AaronHForgeFlow avatar Mar 28 '20 10:03 AaronHForgeFlow

CI will not be green after rebase :(

Yes it's green :) You can merge it :) Thanks!

acsonefho avatar Mar 30 '20 05:03 acsonefho

@AaronHForgeFlow

rousseldenis avatar May 25 '20 17:05 rousseldenis

/ocabot merge patch

dreispt avatar Jul 19 '20 08:07 dreispt

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 10.0-ocabot-merge-pr-913-by-dreispt-bump-patch, awaiting test results.

OCA-git-bot avatar Jul 19 '20 08:07 OCA-git-bot

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 10.0-ocabot-merge-pr-913-by-dreispt-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.

OCA-git-bot avatar Jul 19 '20 10:07 OCA-git-bot

/ocabot merge minor

dreispt avatar Jul 03 '21 14:07 dreispt

This PR looks fantastic, let's merge it! Prepared branch 10.0-ocabot-merge-pr-913-by-dreispt-bump-minor, awaiting test results.

OCA-git-bot avatar Jul 03 '21 14:07 OCA-git-bot

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 10.0-ocabot-merge-pr-913-by-dreispt-bump-minor.

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.

OCA-git-bot avatar Jul 03 '21 16:07 OCA-git-bot

/ocabot merge minor

dreispt avatar Nov 27 '21 15:11 dreispt

What a great day to merge this nice PR. Let's do it! Prepared branch 10.0-ocabot-merge-pr-913-by-dreispt-bump-minor, awaiting test results.

OCA-git-bot avatar Nov 27 '21 15:11 OCA-git-bot

@dreispt your merge command was aborted due to failed check(s), which you can inspect on this commit of 10.0-ocabot-merge-pr-913-by-dreispt-bump-minor.

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.

OCA-git-bot avatar Nov 27 '21 16:11 OCA-git-bot

/ocabot rebase

rafaelbn avatar Mar 24 '22 00:03 rafaelbn

@rafaelbn The rebase process failed, because command git push --force acsone tmp-pr-913:10.0-fix_account_asset_management failed with output:

remote: Permission to acsone/account-financial-tools.git denied to OCA-git-bot.
fatal: unable to access 'https://github.com/acsone/account-financial-tools/': The requested URL returned error: 403

OCA-git-bot avatar Mar 24 '22 00:03 OCA-git-bot