Sunday, May 17, 2026
3 changes · master
Resolved issues and error corrections
This fixes an issue where imported service products could incorrectly appear as stock-managed products when tracking was set to none. It prevents confusing inventory fields, such as Quantity on Hand, from showing for services and keeps product records aligned with their intended type.
Original PR description
_set_tracking does write(is_storable=bool(tracking)) without looking at type. A service template imported manually with tracking='none' thus flips to is_storable=True. Restrict the inverse to consu templates. Steps to reproduce: - Import a CSV with type=service,tracking=none - You will visually see the Quantity on Hand field on the form view opw-6203593 Forward-Port-Of: odoo/odoo#264357
This update resolves a technical issue where the payroll amount calculation wasn't working correctly when a default value was set for a specific field. The change ensures the calculation is triggered properly, addressing a potential discrepancy in how payroll amounts are determined. This improves the accuracy of payroll processing.
Original PR description
The compute is not triggered when a default value is assigned to a field. So all property inputs default to 'fix' for amount_select. This removes the default parameter from the field and adds the default value to the compute method. task-6126332 Forward-Port-Of: odoo/enterprise#116854 Forward-Port-Of: odoo/enterprise#113102
This update resolves an issue where the system incorrectly loaded account moves when processing paid orders. By removing redundant loading steps, the system now accurately retrieves the necessary data, ensuring paid orders are processed correctly within the point-of-sale module. This improves order processing reliability.
Original PR description
Before this commit, when loading the paid orders it would load the account move with the "account_move" key, but this key is wrong as the account move model is loaded with the "account.move". Also, the account move is already loaded by the "read_pos_data" method in the point_of_sale module, so we can just remove it from here. opw-6218467 Forward-Port-Of: odoo/enterprise#117422