mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bills and invoices that are posted and subsequently unposted again still store their posted account internally as a convenience to the user (upon reposting the old account will be offered by default) so it's not a reliable test for the posted state. The posted transaction on the other hand is guaranteed to only exist when the invoice is posted. This should fix a slew of small and perhaps larger side effects, such as a posted bill still appearing as editable, critical warnings when creating new bills/invoices and so on.