Hi,
In a fresh install of Odoo 15.0, creating a manufacturing order works. After some initial setup this error occurs below.
Later versions of Odoo messing with sequences? Please advice how to debug the traceback. Thanks!
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/usr/lib/python3/dist-packages/odoo/http.py", line 688, in dispatch result = self._call_function(**self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 360, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 349, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 917, in __call__ return self.method(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 536, in response_wrap response = f(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1335, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1327, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 462, in call_kw result = _call_kw_model_create(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 442, in _call_kw_model_create result = method(recs, *args, **kwargs) File "", line 2, in create File "/usr/lib/python3/dist-packages/odoo/api.py", line 391, in _model_create_single return create(self, arg) File "/usr/lib/python3/dist-packages/odoo/addons/mrp/models/mrp_production.py", line 781, in create values['name'] = picking_type_id.sequence_id.next_by_id() File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 271, in next_by_id return self._next(sequence_date=sequence_date) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 260, in _next return self._next_do() File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 201, in _next_do number_next = _update_nogap(self, self.number_increment) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_sequence.py", line 56, in _update_nogap self._cr.execute("SELECT number_next FROM %s WHERE id=%%s FOR UPDATE NOWAIT" % self._table, [self.id]) File "", line 2, in execute File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 89, in check return f(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 310, in execute res = self._obj.execute(query, params) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 644, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 302, in _handle_exception raise exception.with_traceback(None) from new_cause psycopg2.errors.UndefinedFunction: operator does not exist: integer = boolean LINE 1: SELECT number_next FROM ir_sequence WHERE id=false FOR UPDAT... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.