Thursday, November 20, 2025
1 change · 19.0
Resolved issues and error corrections
This change reverts a recent update that was causing some journal entry lines to be calculated incorrectly when users added new lines. It helps ensure debit and credit amounts are computed reliably again during editing, preventing accounting errors in the interface.
Original PR description
This reverts commit 17d0e67106a30a46d608331680e5094dbc44e2e0. The commit is reverted because the `journal_line_ids` field is causing issues with onchange methods that rely on cached values. Specifically, the automatic computation of `debit`/`credit` when adding new lines to a journal entry was failing. While `journal_line_ids` (as a subset of `line_ids`) works correctly when the data is stored in the database, its absence during an onchange computation (which relies solely on cache) led to incorrect behavior. no-task Forward-Port-Of: odoo/enterprise#99875