diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-08-21 11:03:07 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-08-21 13:39:16 +0200 |
| commit | b8161ec80691b84daf83a0006238acbe99023e1b (patch) | |
| tree | b1b85480be82f6cdf6af0e57a414fe1fcd5a2d9c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 87a6b879a29c9036ade5cf804c58e8a6a78a7c7c (diff) | |
[FIX] membership: cancel invoice
- Go to a contact > Membership tab > Buy membership
- Create an invoice with the membership
=> The status of the member goes to 'Waiting membership'
- Validate the invoice
=> The status of the member goes to 'Invoiced membership'
- Create a credit note to cancel the membership
=> The status of the member goes to 'Paid members'.
It shouldn't be the case because the client has canceled his membership.
We look on `payment_move_line_ids` instead of `payment_ids`. Indeed, the
latter doesn't list credit notes, while the first one lists all move
lines used for payment.
opw-1875673
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
