Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


What's this error? No such external ID currently defined in the system: stock.stock_location_stock

on 3/11/13, 2:48 PM 3,539 views

Please, Can any body help me and show me how i can solve my problem? In my installation of OpenERP 7.0 when i clic the create button for creating a make order, in place of the form, i receive this error message " raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id)) ValueError: No such external ID currently defined in the system: stock.stock_location_stock"

Please please i need help

thank you for your answer, i have cry to install pgadmin3 in ubuntu for administrating my DB that is in the LINUX system. I was not able to configure it so that i can use the one that is in my Window system to do the job. Now that i'm OK, i realy want to understant what exactly i will insert in that table. In that table i have these fields: Id , create_uid,create_date, write_date,write_uid, noupdate,name,date_init,date_update,module,model,res_id

What will i put exactly in fields? Please can you tel me the role of that table?

on 3/14/13, 12:32 PM
On 4/6/13, 4:01 PM

This problem is solved for me when I updates the base module.


Andreas Brueckl

--Andreas Brueckl--
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 3/12/13, 5:27 AM

It seems that you have deleted the default stock location called Stock. This can only be fixed by:

  • Setup a new database or
  • create a new stock location and create an enty in table ir_model_data with a database client like pgAdmin

Thank you for the answer,

on 3/14/13, 12:21 PM

You can recreate it easily by updating the stock module from the UI.

Fabien Pinckaers (fp)
on 4/7/13, 7:11 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 3/11/13, 2:48 PM
Seen: 3539 times
Last updated: 6/23/16, 11:33 AM