Odoo Help


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

on 3/11/13, 2:48 PM 4,656 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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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