Friday, July 25, 2025
1 change · 17.0
Resolved issues and error corrections
The disallowed expenses report now avoids errors when expense lines have a zero or missing rate. This keeps the report usable and prevents duplicate line conflicts that could block users from reviewing expenses.
Original PR description
Before this **PR**: When only the account_disallowed_expenses module was installed, the report failed with a duplicate key error if a line had a 0 rate or no rate at all. This was because such child lines were assigned the same line_id as their parent. After this **PR**: Lines with a 0 or no rate have the parent account appended to their line_id to ensure uniqueness and avoid key collisions.