Odoo Help


How to install MRP application? [ERROR regarding resource.timesheet_group1]

Hakan Aydin
on 2/11/13, 8:05 AM 2,842 views

Installation of the MRP application fails with the following message (openerp 7, windows x64). Other modules such as timesheets, warehouse, employee management) complete successfully without any hipccups.

OpenERP Server Error

Client Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\http.py", line 195, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\controllers\main.py", line 1083, in call_button
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\controllers\main.py", line 1071, in _call_kw
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\session.py", line 43, in proxy
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\web\session.py", line 90, in send
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\netsvc.py", line 295, in dispatch_rpc
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\service\web_services.py", line 614, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\osv\osv.py", line 169, in execute_kw
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\osv\osv.py", line 123, in wrapper
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\osv\osv.py", line 179, in execute
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\osv\osv.py", line 166, in execute_cr
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\base\module\module.py", line 715, in install_from_urls
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\pooler.py", line 39, in restart_pool
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\registry.py", line 214, in new
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\loading.py", line 347, in load_modules
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\loading.py", line 258, in load_marked_modules
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\loading.py", line 194, in load_module_graph
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\loading.py", line 76, in <lambda>
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\modules\loading.py", line 126, in _load_data
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\convert.py", line 847, in parse
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\convert.py", line 805, in _tag_record
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\convert.py", line 824, in id_get
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\convert.py", line 833, in model_id_get
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\base\ir\ir_model.py", line 861, in get_object_reference
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130211-002141\Server\server\openerp\addons\base\ir\ir_model.py", line 854, in _get_id
ValueError: No such external ID currently defined in the system: resource.timesheet_group1

Note: This is with demo data

Hakan Aydin
on 2/12/13, 3:08 AM

@Hakan: if (one of) the provided answer(s) helped you, please indicate it by marking it as the accepted answer (using the checkbox under the answer votes). If none of the answer helped, please either add your own answer (if you found the solution), or say so and update your question so better answers can be provided. Thanks!

Olivier Dony (odo)
on 2/22/13, 7:48 AM

Olivier Dony (odo)

--Olivier Dony (odo)--
Olivier Dony (odo)
| 7 6 7
--Olivier Dony (odo)--


Olivier Dony (odo)
On 2/20/13, 6:53 AM

This could happen if you have modified or deleted some of the data installed by other modules. In this case it looks like the resource module is missing the working time entry "45 Hours/Week" (resource.timesheet_group1).

This is a common issue on demo databases that have been altered, and you usually solve it by forcing an update of the module(s) who have missing data (or forcing an update of the base module).

Steps to try:

  1. Cancel the installation for the MRP module
  2. Manually force an update of the resource module (or the base module, as it will automatically update all modules)
  3. Try to reinstall MRP

Additional info on step 2 - for some reason 'demo' was set to False for the Resource module and for this the upgrade on the module wouldn't import the demo data which contrains timesheet_group1. I updated the 'demo' field to True by SQL before upgrading the module, which did the trick.

Rooms For (Hong Kong) Limited, Yoshi Tashiro
on 5/8/14, 12:47 AM


Please, can you tell me how to force an update of the resource module?

Find the module in "installed modules" and click on "update". Same way to cancel installation for mrp.

Andreas Maertens
on 7/23/13, 11:29 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 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: 2/11/13, 8:05 AM
Seen: 2842 times
Last updated: 3/16/15, 8:10 AM