diff options
| author | Joren Van Onder <jov@odoo.com> | 2020-08-28 22:42:25 +0000 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2020-08-31 08:14:50 +0000 |
| commit | df06d7f9c488ab3e463baed10b55bea8bbfb5908 (patch) | |
| tree | edd37f7b2bc8b30d6f2db3f0b3f1470248bbfc31 /addons/website_event/controllers/main.py | |
| parent | 57919cec81fb65b7e8774cce7cfa079793e53138 (diff) | |
[FIX] sale: the paid state was removed together with account.invoice
The correct way to check if an invoice is paid is through the
payment_state field.
A similar fix was done in 13.0 with 276b9327b, but in 13.0 the field
was called invoice_payment_state. It was renamed to payment_state in
saas-13.3 with 8e4158af8.
opw-2328046
closes odoo/odoo#56781
X-original-commit: d73b40aa7dc8dcf2ea45da01d98cc5b15b23e677
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website_event/controllers/main.py')
0 files changed, 0 insertions, 0 deletions
