diff options
| author | Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> | 2019-05-11 16:17:24 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-05-27 14:30:46 +0000 |
| commit | 060e35f62adae0795f325ab6cc9019d87fb2412e (patch) | |
| tree | c1cc9f2244e6f6f00132a041dc2ec89668fe2979 /doc/reference/javascript_reference.rst | |
| parent | 472bfdca561fcdf3a535c4c92cadf0ede1d4fab4 (diff) | |
[FIX] account: allow cancelling payment whith draft move
Payment journals have an option to keep moves unposted until bank statement
reconciliation.
When cancelling such payments, it is not necessary to attempt canceling the move
if it is unposted.
This patch allows cancelling such payments without needing to configure the
journal as cancellable while the move is still draft.
To reproduce:
1. check "Post at bank reconciliation" on a bank journal
2. do "Register payment" with that journal on a invoice
3. open the generated payment
4. click cancel => error "You cannot modify a posted entry of this journal..."
closes odoo/odoo#33312
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
