Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information