Odoo Help


Error gives while installing any module on odoo.

Md Abdur Rahim
on 8/5/15, 7:22 AM 5,353 views

Error LOG====================


Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/openerp/http.py", line 537, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/openerp/http.py", line 574, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/openerp/http.py", line 310, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/opt/odoo/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/addons/web/controllers/main.py", line 948, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/module/module.py", line 446, in button_immediate_install

return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/module/module.py", line 494, in _button_immediate_function

registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)

File "/opt/odoo/openerp/modules/registry.py", line 370, in new

openerp.modules.load_modules(registry._db, force_demo, status, update_module)

File "/opt/odoo/openerp/modules/loading.py", line 355, in load_modules

loaded_modules, update_module)

File "/opt/odoo/openerp/modules/loading.py", line 255, in load_marked_modules

loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)

File "/opt/odoo/openerp/modules/loading.py", line 157, in load_module_graph

init_module_models(cr, package.name, models)

File "/opt/odoo/openerp/modules/module.py", line 286, in init_module_models

result = obj._auto_init(cr, {'module': module_name})

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/models.py", line 2636, in _auto_init

self._set_default_value_on_column(cr, k, context=context)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/models.py", line 2398, in _set_default_value_on_column

default = default(self, cr, SUPERUSER_ID, context)

File "/opt/odoo/addons/account/account.py", line 1219, in _get_period

period_ids = self.pool.get('account.period').find(cr, uid, context=ctx)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/addons/account/account.py", line 1046, in find

model, action_id = self.pool['ir.model.data'].get_object_reference(cr, uid, 'account', 'action_account_period')

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 968, in get_object_reference

return self.xmlid_lookup(cr, uid, "%s.%s" % (module, xml_id))[1:3]

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "", line 2, in xmlid_lookup

File "/opt/odoo/openerp/tools/cache.py", line 74, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 926, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % (xmlid))

ValueError: External ID not found in the system: account.action_account_period

Any one please help me to solve this error......

Md Abdur Rahim
on 8/5/15, 7:25 AM

**@Gavin Yap - i am using several modules on odoo. i was trying to install Purchase Management. Now something happens and i cant install any module and it shows same error. ****Please guide me how to edit "Technical Settings" as you say. Because i cant find it.****.............****@Ahmed M.Elmubarak - will you please explain what kind of change i have to do in which file?****--------****@Abdul Wahid - how to put menu item under action record? **** ****Dear all, Please give step by step guideline to solve it. **** ****Rahim **

Md Abdur Rahim
on 8/5/15, 1:45 PM

Go to Settings > Users > Users. Click on ur Adminstrator account and you should see a check box for technical settings. Refresh your browser and you should be able to see more option in the Settings tab. Now go to Settings > Technical > Sequence and Identifiers > External Identifier. You should search external identifier. Did you remove any records or touch any demo files previously? Unfortunately, it is almost not possible to provide step by step guide to solve this. U need some experience and intuition to solve this. Odoo is not the simplest platform to use, honestly speaking. Having said that, account.action_account_period seems to be the external id of ir.actions.act_window, in the openerp/addons/account/account_view.xml file You may need to check on the version of odoo you are using. I'm running 8 on one of their night-builds and it seems I did not encounter ur issue.

Gavin Yap
on 8/18/15, 8:23 AM
Gavin Yap
On 8/5/15, 8:19 AM

Your error logs indicate that the account.action_account_period is not found within the external ID list.

You should be able to view the external ID in settings once you enable "Technical Settings" to your account.

The next question for you is, what modules did you install and which version you used?

--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 8/5/15, 8:15 AM


The system can't find specific action ['action_account_period'] , which is called in a python file in this line 

and the action is already defined here 

So if you made some change try to restore it, or try to make update to your account module,

* Also try to make a new DB and install the accounting module, to make sure it is an error in your code files ...

I hope this could helps


Abdul wahid
On 8/5/15, 7:31 AM

try to put your menu item under the action record...may be helps

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

2 follower(s)


Asked: 8/5/15, 7:22 AM
Seen: 5353 times
Last updated: 8/18/15, 8:23 AM