Skip to Content
मेन्यू
This question has been flagged
1 Reply
1158 Views

Hi all,

One of our kiosks has stopped working correctly, when we click the 'Pay' button after adding products we receive an error message, 'An error has occurred.' It was working correctly yesterday.

As far as I am aware, no changes have been made to the setup.

Any help would be appreciated. 

We are using v18, in the 'Odoo.log' it has the following entries.


2024-11-19 14:16:44,705 8680 ERROR POS-MUK odoo.http: Exception during request handling.

Traceback (most recent call last):

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 2363, in __call__

    response = request._serve_db()               ^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 1891, in _serve_db

    return self._transactioning(

           ^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 1954, in _transactioning

    return service_model.retrying(func, env=self.env)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\service\model.py", line 137, in retrying

    result = func()

             ^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 1921, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 2168, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\addons\base\models\ir_http.py", line 329, in _dispatch

    result = endpoint(**request.params)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\http.py", line 727, in route_wrapper

    result = endpoint(self, *args, **params_ok)

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\server\odoo\addons\pos_self_order\controllers\orders.py", line 20, in process_order

    sequence_number = re.findall(r'\d+', ir_sequence_session)[0]

                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "X:\Odoo-POS\Odoo 18.0.20241110\python\Lib\re\__init__.py", line 217, in findall

    return _compile(pattern, flags).findall(string)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: expected string or bytes-like object, got 'bool'

Avatar
Discard
Author Best Answer

I found the error, in the edit button someone had unticked the 'Log in with Employees' box.
I re-ticked it and the kiosk now works correctly.

Avatar
Discard
Related Posts Replies Views Activity
1
अग॰ 25
657
1
जुल॰ 25
899
3
जुल॰ 25
3032
3
मई 25
1629
1
जुल॰ 25
1109