Skip to content

[MIG] stock_account_quantity_history_location: migration to 18.0#487

Open
jorgevalmalanetkia wants to merge 13 commits into
OCA:18.0from
jorgevalmalanetkia:18.0-mig-stock_account_quantity_history_location
Open

[MIG] stock_account_quantity_history_location: migration to 18.0#487
jorgevalmalanetkia wants to merge 13 commits into
OCA:18.0from
jorgevalmalanetkia:18.0-mig-stock_account_quantity_history_location

Conversation

@jorgevalmalanetkia

Copy link
Copy Markdown
  • 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

JordiBForgeFlow and others added 3 commits April 27, 2026 10:22
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.
@jorgevalmalanetkia jorgevalmalanetkia force-pushed the 18.0-mig-stock_account_quantity_history_location branch from b469c05 to d29e13a Compare April 27, 2026 08:30
@OCA-git-bot OCA-git-bot added series:18.0 mod:stock_account_quantity_history_location Module stock_account_quantity_history_location labels Apr 27, 2026
@jorgevalmalanetkia jorgevalmalanetkia force-pushed the 18.0-mig-stock_account_quantity_history_location branch 4 times, most recently from 05f47c6 to ce4a3a6 Compare April 27, 2026 09:49
- Updated manifest version to 18.0.1.0.0
- Updated tests: qty_done → quantity for Odoo 18.0 compatibility
@jorgevalmalanetkia jorgevalmalanetkia force-pushed the 18.0-mig-stock_account_quantity_history_location branch from ce4a3a6 to 6050ced Compare April 27, 2026 10:01
@jorgevalmalanetkia jorgevalmalanetkia marked this pull request as ready for review April 27, 2026 10:06

@ypapouin ypapouin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code review

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove this part since there is no such warning anymore

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

Labels

mod:stock_account_quantity_history_location Module stock_account_quantity_history_location series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants