diff options
| author | Laurent Smet <las@odoo.com> | 2019-11-13 10:29:40 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-13 13:09:11 +0000 |
| commit | 940733ec1835c0ed9e92647614db7674297c5647 (patch) | |
| tree | c5dd7a53acfc4aa2efb5d5cf2ca28aaa8a20546a /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | edb11ee6840c02d64c9dcb8a52a3a787dc1bf443 (diff) | |
[FIX] account: Fix the 'state' live-cycle of account.payment
Introduced by https://github.com/odoo/odoo/commit/ab483a3a6610a09391ec00e9c1c49489ca4a4f12
There was no way to exit the 'cancelled' state of an account.payment.
The new live-cycle is:
- draft -> posted -> sent -> reconciled -> cancelled
- action_draft to move the account.payment from ('cancelled', 'posted', 'sent', 'reconciled') -> 'draft'
- cancel to move the account.payment from 'draft' -> 'cancel'
closes odoo/odoo#40193
X-original-commit: 53e83ae9e68d418bf7322374815b942309bf7fef
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
