Sunday, July 13, 2025
2 changes · 18.0
Resolved issues and error corrections
The Post button on accounting entries will now be hidden when posting is not allowed, such as for already posted or auto-scheduled entries. This removes a confusing option from the screen and better aligns the interface with the system's actual rules.
Original PR description
[FIX] account: ensure `hide_post_button` is declared in form view The `hide_post_button` field is used in the `invisible` condition of the "Post" (`action_post`) button on `account.move` form views. However, it was not explicitly declared in the view, which caused the button to be always visible even when it should be hidden. This commit adds the missing field to the form view (invisible), so the `invisible` condition is properly evaluated by the client UI. This fixes a UI inconsistency where the Post button appears for posted or auto-scheduled entries, despite backend logic preventing their posting. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged:
This pull request removes a previous broad change that was creating repeated conflicts during ongoing updates. The issue will instead be handled in testing, reducing maintenance noise without changing business functionality.
Original PR description
Change is noisy, conflicts on every forward port, and doesn't preclude adding more errors. Whitelist on the test side instead.