Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1160 Prikazi

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
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
avg. 25
657
1
jul. 25
899
3
jul. 25
3032
3
maj 25
1629
1
jul. 25
1110