Skip to Content
Menu
This question has been flagged
1 Reply
1027 Views

Hi,

on registering a payment I receive an unclear error.  As a result I'm unable to  set my invoices to 'paid' to have an overview...

The error that is displayed on the creation or registering the payment is the following:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210910-py3.8.egg/odoo/http.py", line 640, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/bitnami/odoo/lib/odoo-14.0.post20210910-py3.8.egg/odoo/http.py", line 316, in _handle_exception
    raise exception.with_traceback(None) from new_cause
TypeError: expected string or bytes-like object

I don't see what is going wrong, since all fields are filled automatically and seem to be correct.

All help is appreciated.

Best regards,


Jorn

Avatar
Discard

Hi, Please check the error from Odoo log file, it will give you more details about the error.

Author Best Answer

Hi Waleed,

if I check the log file, the only extra information next to the long and full error message is:
 "Exception during JSON request handling.
Traceback (most recent call last): "
And then the full error message with the last 2 lines what is mentioned in the main question.

Is there a way that that not the full program and booking is triggered, but by clicking create payment that the invoice is put to a status paid and receives a banner on top?
This would be fine, since we are using an external accounting system to do the full accounting.
We just want to follow up the fully paid invoices in ODOO.

Any help is appreciated.

Avatar
Discard