Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1172 Weergaven

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 25
666
1
jul. 25
924
3
jul. 25
3120
3
mei 25
1672
1
jul. 25
1141