Hi All,
We've just started using Odoo online to support our purchasing, production and sales. Odoo saas~15.2+e (Enterprise Edition).
Most views are slightly modded using Odoo studio. Some extra values for BoMs or extra columns in list views,... have been added. I sometimes swap some stuff over since we're still optimizing things.
This morning I tried creating a MO and got this error (details below).
FYI: I have the "By-products" setting for manufacturing unchecked.
Latest stuff I did in Odoo studio was changing/adding a couple of columns in Transfers (If I remember well). Resetting those views back to default, didn't solve the issue either. I'm a bit lost here...
Any directions on where to look or what could be causing this?
All help very appreciated!
Cheers!
Boris
Detailed error message:
Odoo server error:
Traceback (most recent call last): File "/home/odoo/src/odoo/saas-15.2/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 687, in dispatch result = self._call_function(**self.params) File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 359, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/saas-15.2/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 348, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 915, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 535, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/saas-15.2/addons/web/controllers/main.py", line 1365, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/odoo/src/odoo/saas-15.2/addons/web/controllers/main.py", line 1357, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/src/odoo/saas-15.2/odoo/api.py", line 459, in call_kw result = _call_kw_model_create(method, model, args, kwargs) File "/home/odoo/src/odoo/saas-15.2/odoo/api.py", line 439, in _call_kw_model_create result = method(recs, *args, **kwargs) File "", line 2, in create File "/home/odoo/src/odoo/saas-15.2/odoo/api.py", line 409, in _model_create_multi return create(self, [arg]) File "/home/odoo/src/odoo/saas-15.2/addons/mrp/models/mrp_production.py", line 804, in create vals['move_finished_ids'] = list(filter(lambda move: move[2]['byproduct_id'] is False, vals['move_finished_ids'])) File "/home/odoo/src/odoo/saas-15.2/addons/mrp/models/mrp_production.py", line 804, in vals['move_finished_ids'] = list(filter(lambda move: move[2]['byproduct_id'] is False, vals['move_finished_ids'])) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/src/odoo/saas-15.2/odoo/http.py", line 301, in _handle_exception raise exception.with_traceback(None) from new_cause KeyError: 'byproduct_id'
EOM