Advertisement
EnderX092

Confinar no entrega parcial

Dec 18th, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.41 KB | None | 0 0
  1. RPC_ERROR
  2. Odoo Server Error
  3. Traceback (most recent call last):
  4.   File "/home/odoo/src/odoo/odoo/http.py", line 1653, in _serve_db
  5.     return service_model.retrying(self._serve_ir_http, self.env)
  6.   File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
  7.     result = func()
  8.   File "/home/odoo/src/odoo/odoo/http.py", line 1680, in _serve_ir_http
  9.     response = self.dispatcher.dispatch(rule.endpoint, args)
  10.   File "/home/odoo/src/odoo/odoo/http.py", line 1884, in dispatch
  11.     result = self.request.registry['ir.http']._dispatch(endpoint)
  12.   File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
  13.     response = super()._dispatch(endpoint)
  14.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
  15.     result = endpoint(**request.params)
  16.   File "/home/odoo/src/odoo/odoo/http.py", line 734, in route_wrapper
  17.     result = endpoint(self, *args, **params_ok)
  18.   File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 46, in call_button
  19.     action = self._call_kw(model, method, args, kwargs)
  20.   File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
  21.     return call_kw(request.env[model], method, args, kwargs)
  22.   File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw
  23.     result = _call_kw_multi(method, model, args, kwargs)
  24.   File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi
  25.     result = method(recs, *args, **kwargs)
  26.   File "/home/odoo/src/user/odoo-mastercore/stock_addons/warehouse_inter_transfer_app/wizard/stock_backorder_confirmation.py", line 32, in process_cancel_backorder
  27.     vals = self._get_vals_auto_return(pickings_to_validate.name, picking_type_id, location, location_dest, pickings_to_validate.inter_war_tr_id)
  28.   File "/home/odoo/src/user/odoo-mastercore/stock_addons/warehouse_inter_transfer_app/wizard/stock_backorder_confirmation.py", line 58, in _get_vals_auto_return
  29.     'name': picking_type_id.sudo().sequence_id.next_by_id(),
  30.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_sequence.py", line 274, in next_by_id
  31.     return self._next(sequence_date=sequence_date)
  32.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_sequence.py", line 263, in _next
  33.     return self._next_do()
  34.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_sequence.py", line 204, in _next_do
  35.     number_next = _update_nogap(self, self.number_increment)
  36.   File "/home/odoo/src/odoo/odoo/addons/base/models/ir_sequence.py", line 57, in _update_nogap
  37.     self._cr.execute("SELECT number_next FROM %s WHERE id=%%s FOR UPDATE NOWAIT" % self._table, [self.id])
  38.   File "/home/odoo/src/odoo/odoo/sql_db.py", line 321, in execute
  39.     res = self._obj.execute(query, params)
  40. psycopg2.errors.UndefinedFunction: operator does not exist: integer = boolean
  41. LINE 1: SELECT number_next FROM ir_sequence WHERE id=false FOR UPDAT...
  42.                                                     ^
  43. HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
  44.  
  45.  
  46. The above server error caused the following client error:
  47. RPC_ERROR: Odoo Server Error
  48.     RPC_ERROR
  49.         at makeErrorFromResponse (https://odoo-mastercore-detodo-odo-staging-17148893.dev.odoo.com/web/assets/8372-7be5c3f/web.assets_backend.min.js:1008:163)
  50.         at XMLHttpRequest.<anonymous> (https://odoo-mastercore-detodo-odo-staging-17148893.dev.odoo.com/web/assets/8372-7be5c3f/web.assets_backend.min.js:1016:13)
Tags: error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement