-
- Downloads
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Problem: the field account_invoice.reconciled was invalidated by a workflow signal sent from the compute method of the field. The purpose of the signal was to re-open the invoice when the account move lines were no longer reconciled, for instance after cancelling a reconciliation. Solution: modify the workflow such that it makes an automatic transition from 'paid' to 're-open' when the condition 'not reconciled' is met. This works because the field 'reconciled' is stored, and each recomputation forces a reevaluation the workflow. The signal to re-open the invoice is thus no longer necessary.
Loading
Please register or sign in to comment