[MIG] stock_account_quantity_history_location: migration to 18.0#487
Open
jorgevalmalanetkia wants to merge 13 commits into
Open
[MIG] stock_account_quantity_history_location: migration to 18.0#487jorgevalmalanetkia wants to merge 13 commits into
jorgevalmalanetkia wants to merge 13 commits into
Conversation
jorgevalmalanetkia
commented
Mar 21, 2026
- Updated manifest version to 18.0.1.0.0
- Updated tests: qty_done → quantity + picked for Odoo 18 compatibility
- Verified compatibility with stock_account and stock_quantity_history_location
When a qty at date is asked the location context could be overriden if the company_owned one was inserted after we removed it. We ensure to remove it to always obtain the right values. As a side effect, stock_account valuation is now correctly computed when AVCO or Standard methods are implied. So should be with FIFO manual (as it computes the quantities the same way) but doubtful in FIFO real time.
b469c05 to
d29e13a
Compare
Remove domains introduced in OCA@f4f1466 that make the valuation incorrect.
When filtering svl by location we don't want to let outgoing svls out. Normally, we want all the location's related movements to get the whole picture. TT35218
05f47c6 to
ce4a3a6
Compare
- Updated manifest version to 18.0.1.0.0 - Updated tests: qty_done → quantity for Odoo 18.0 compatibility
ce4a3a6 to
6050ced
Compare
ypapouin
suggested changes
Jun 12, 2026
Comment on lines
+3
to
+5
|
|
||
| Display a warning on the Stock Inventory report that accounting | ||
| valuation is not calculated when you specify a location. |
Contributor
There was a problem hiding this comment.
Remove this part since there is no such warning anymore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.