diff options
| author | Olivier Dony <odo@odoo.com> | 2019-01-30 22:31:51 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2019-01-30 22:31:51 +0100 |
| commit | e61b0cac4679f2f57163c2aaaef2c7543fd9b52b (patch) | |
| tree | 0aa403484ece478e93cc2e55a9e4a212785cab5c /addons/web/static/src | |
| parent | 006002646ef04815a0c496d3cdd76de2f8ba2a56 (diff) | |
[FIX] account_payment: warn when payment can't be matched
The payment reconciliation screen can't be opened if there is no partner
on a payment, and currently crashes with a traceback.
Rather than hiding the button which could cause surprises for users, we
can raise a proper error to explain why it can't work, for the cases
where a payment has no related partner.
This could happen for example when a customer paid via a direct
/website_payment/pay link.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
