Skip to Content
Menu
This question has been flagged
2136 Views

We are using Odoo 10 (enterprise) installed from the repository on Ubuntu 16.04.


We have the problem that if we try to create a new product (Sales -> Sales -> Product -> create) we get an Odoo Server Error.

The last few lines of the traceback are:

File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1027, in xmlid_to_res_model_res_id
 return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-5>", line 2, in xmlid_lookup
File "/usr/lib/python2.7/dist-packages/odoo/tools/cache.py", line 87, in lookup
 value = d[key] = self.method(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_model.py", line 1016, in xmlid_lookup
 raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: purchase.route_warehouse0_buy


As I understand there is a warehouse route missing in the database. Does anyone know how I can add this route again or can anyone give me another solution for that problem?


Thanks in advanced!

Avatar
Discard

you can upgrade your purchase module via the apps menu to recreate the missing record.

Author

Thank you Jérémy!!!! That worked :)