Daily updates from Odoo
Thursday, March 14, 2024
1 change · 17.0
Code cleanup and technical improvements
The stock accounting module has been refactored to make ownership tracking more flexible and easier to customize. This change simplifies how the system checks and manages inventory ownership, making it easier for future updates and custom features related to how inventory is valued based on who owns it.
Original PR description
This PR adds a refactoring of the owner_id check within the stock_account module. The purpose of this refactoring is to prepare for a custom module that will value inventory based on specific ownership. This refactoring allows for extending to the functions as needed. @qrtl Forward-Port-Of: odoo/odoo#155694