Skip to content

[FIX] Registrazione contabile per cespite crea sempre rettifica negativa#4249

Merged
OCA-git-bot merged 1 commit into
OCA:16.0from
SirAionTech:16.0-fix-assets_management-negative_amend
Jul 9, 2024
Merged

[FIX] Registrazione contabile per cespite crea sempre rettifica negativa#4249
OCA-git-bot merged 1 commit into
OCA:16.0from
SirAionTech:16.0-fix-assets_management-negative_amend

Conversation

@SirAionTech

Copy link
Copy Markdown
Contributor

Risolve #4017 per 16.0.

Forward port di #4018.

Deciding the depreciation type based on the move type does not work with entries because they could be either "in" or "out".
Everything depends on the sign of the account move lines amount: if it is positive then it is an "in" depreciation, otherwise "out".
@francesco-ooops francesco-ooops linked an issue Jul 2, 2024 that may be closed by this pull request
2 tasks
@SirAionTech SirAionTech marked this pull request as ready for review July 3, 2024 07:14
@MaurizioConte

Copy link
Copy Markdown

@SirAionTech @francesco-ooops TEST positivo sia per rettifica positiva che per rettifica negativa l'unica cosa è che se non si inserisce il partner sulla riga della registrazione contabile non fa collegare il cespite.

@francesco-ooops

Copy link
Copy Markdown
Contributor

@MaurizioConte

Copy link
Copy Markdown

@SirAionTech @francesco-ooops
I test sono OK

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test funzionale: OK

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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). 🤖

@SirAionTech

Copy link
Copy Markdown
Contributor Author

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-4249-by-SirAionTech-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jul 9, 2024
Signed-off-by SirAionTech
@OCA-git-bot

Copy link
Copy Markdown
Contributor

It looks like something changed on 16.0 in the meantime.
Let me try again (no action is required from you).
Prepared branch 16.0-ocabot-merge-pr-4249-by-SirAionTech-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 45f6bc3 into OCA:16.0 Jul 9, 2024
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 1a49ad5. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registrazione contabile per cespite crea sempre rettifica negativa

5 participants