Commit a5d3aa1
committed
[FIX] account_cashbox: validate session only for draft payments
Restrict cashbox session validation in action_post to payments in the 'draft' state.
This prevents a UserError when _compute_state triggers action_post to move an in_process payment to paid after its original session has already been closed.
closes #960
Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>1 parent 3a4d9da commit a5d3aa1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments