Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2945 Zobrazení

Hi there,  a situation here

Using odoo as a docker container I did a rebuild,  but I think session in POS was opened (I dont know if related)

I got this error, Can Anyone help me  in solving this ( I am unable to get into POS but Inventory is OK)

regards,


Error:
Odoo Server Error
Traceback (most recent call last):
  File "/opt/bitnami/odoo/odoo/http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/bitnami/odoo/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/bitnami/odoo/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/bitnami/odoo/odoo/http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "/opt/bitnami/odoo/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/bitnami/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/bitnami/odoo/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/bitnami/odoo/odoo/http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "/opt/bitnami/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/bitnami/odoo/odoo/addons/web/controllers/main.py", line 934, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/bitnami/odoo/odoo/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/bitnami/odoo/odoo/api.py", line 687, in call_kw
    return call_kw_model(method, model, args, kwargs)
  File "/opt/bitnami/odoo/odoo/api.py", line 672, in call_kw_model
    result = method(recs, *args, **kwargs)
  File "/opt/bitnami/odoo/odoo/models.py", line 1295, in load_views
    for [v_id, v_type] in views
  File "/opt/bitnami/odoo/odoo/models.py", line 1295, in <dictcomp>
    for [v_id, v_type] in views
  File "/opt/bitnami/odoo/odoo/models.py", line 1381, in fields_view_get
    xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)
  File "/opt/bitnami/odoo/odoo/addons/base/ir/ir_ui_view.py", line 1061, in postprocess_and_fields
    self.raise_view_error(message, view_id)
  File "/opt/bitnami/odoo/odoo/addons/base/ir/ir_ui_view.py", line 516, in raise_view_error
    raise ValueError(message)
ValueError: Field `receipt_printer_type` does not exist
Error context:
View `n/a`
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]


Avatar
Zrušit
Nejlepší odpověď

Hi,

I've searched through all standard modules of Odoo and haven't found field with name "receipt_printer_type", therefore I assume you have some custom module installed and this mistake is caused by that module. Try to search for that field in the code and write which module is it coming from, or if you don't have access to code, then try to uninstall all custom modules (if that is possible/acceptable).

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
678
1
čvc 25
933
3
čvc 25
3178
3
kvě 25
1696
1
čvc 25
1146