Skip to content

[18.0][FIX] project_task_stock: analytic_line_from_task values for returned moves#1638

Merged
OCA-git-bot merged 2 commits intoOCA:18.0from
Tecnativa:18.0-fix-project_task_stock-pr-1631
Feb 5, 2026
Merged

[18.0][FIX] project_task_stock: analytic_line_from_task values for returned moves#1638
OCA-git-bot merged 2 commits intoOCA:18.0from
Tecnativa:18.0-fix-project_task_stock-pr-1631

Conversation

@victoralmau
Copy link
Copy Markdown
Member

FWP from 16.0: #1631 + #1633

When a stock move linked to a task is returned, the generated analytic line currently keeps the same amount as the original move’s analytic line.

This PR updates the behavior so that the amount is created with the opposite sign, correctly reflecting the return.

@Tecnativa

@pedrobaeza pedrobaeza added this to the 18.0 milestone Feb 5, 2026
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-1638-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 27f87b9 into OCA:18.0 Feb 5, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

@pedrobaeza pedrobaeza deleted the 18.0-fix-project_task_stock-pr-1631 branch February 5, 2026 08:15
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.

5 participants