Hi, there. I am using Odoo community version 10. After to do some testing activities with the inventory module. I decided to uninstalled and re installed it again. After that, I tried to create a stockable product. However, when I wanted to clic the update the number of pieces of this item the system sends the followind error.
Traceback (most recent call last): File "/opt/odoo/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/opt/odoo/addons/web/controllers/main.py", line 885, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo/api.py", line 687, in call_kw return call_kw_model(method, model, args, kwargs) File "/opt/odoo/odoo/api.py", line 672, in call_kw_model result = method(recs, *args, **kwargs) File "/opt/odoo/addons/stock/wizard/stock_change_product_qty.py", line 32, in default_get res['location_id'] = self.env.ref('stock.stock_location_stock').id File "/opt/odoo/odoo/api.py", line 793, in ref return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found) File "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1092, in xmlid_to_object t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found) File "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1076, in xmlid_to_res_model_res_id return self.xmlid_lookup(xmlid)[1:3] File "<decorator-gen-5>", line 2, in xmlid_lookup File "/opt/odoo/odoo/tools/cache.py", line 87, in lookup value = d[key] = self.method(*args, **kwargs) File "/opt/odoo/odoo/addons/base/ir/ir_model.py", line 1065, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: External ID not found in the system: stock.stock_location_stock
Any idea how to fix it.
Thanks in Advance