Odoo Help

Welcome!

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.

0

No such external ID currently defined in the system: resource.timesheet_group1 ?

By
Moayad Rayyan
on 9/15/14, 7:55 AM 1,249 views

Hello,

I'm trying to remove modules but i had this problem for all modules , i found solution is to force update the module after that uninstall it but , once i tried to force update the module same problem and same error . 

How can be solved please ? 

OPENERP 7

OpenERP  Server Error

Client Traceback (most recent call last): File "C:\OpenERP\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\OpenERP\Server\server\openerp\addons\web\controllers\main.py", line 1435, in run File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 103, in send Server Traceback (most recent call last): File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\OpenERP\Server\server\.\openerp\netsvc.py", line 296, in dispatch_rpc File "C:\OpenERP\Server\server\.\openerp\service\web_services.py", line 626, in dispatch File "C:\OpenERP\Server\server\.\openerp\osv\osv.py", line 190, in execute_kw File "C:\OpenERP\Server\server\.\openerp\osv\osv.py", line 132, in wrapper File "C:\OpenERP\Server\server\.\openerp\osv\osv.py", line 199, in execute File "C:\OpenERP\Server\server\.\openerp\osv\osv.py", line 187, in execute_cr File "C:\OpenERP\Server\server\openerp\addons\base\ir\ir_actions.py", line 611, in run File "C:\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 285, in safe_eval File "", line 1, in <module> File "C:\OpenERP\Server\server\openerp\addons\base\module\module.py", line 426, in button_immediate_install File "C:\OpenERP\Server\server\openerp\addons\base\module\module.py", line 477, in _button_immediate_function File "C:\OpenERP\Server\server\.\openerp\pooler.py", line 39, in restart_pool File "C:\OpenERP\Server\server\.\openerp\modules\registry.py", line 233, in new File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 354, in load_modules File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 256, in load_marked_modules File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 192, in load_module_graph File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 77, in <lambda> File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 124, in _load_data File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 959, in convert_xml_import File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 852, in parse File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 810, in _tag_record File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 829, in id_get File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 838, in model_id_get File "C:\OpenERP\Server\server\.\openerp\tools\cache.py", line 18, in lookup File "C:\OpenERP\Server\server\.\openerp\tools\cache.py", line 46, in lookup File "C:\OpenERP\Server\server\openerp\addons\base\ir\ir_model.py", line 876, in get_object_reference File "C:\OpenERP\Server\server\.\openerp\tools\cache.py", line 18, in lookup File "C:\OpenERP\Server\server\.\openerp\tools\cache.py", line 46, in lookup File "C:\OpenERP\Server\server\openerp\addons\base\ir\ir_model.py", line 869, in _get_id ValueError: No such external ID currently defined in the system: resource.timesheet_group1

0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 9/15/14, 9:22 AM

Moayad,  check on the database in ir_module_module table which modules have the state 'to upgrade' or 'to install'.  Those that are 'to upgrade', change the state to 'installed' and those that are 'to install' change it to 'uninstalled'.  Note the changes that you are making while you're at it (which module is change to what state). Restart the server.

Now, how do you exactly remove module?  You sould use the Uninstall button of that module.  It will warn you if there are any other module that are depending on the module that you are installing.  It seems that the module removal is somehow done by force and hence causing the database to be inconsistent.

0
Moayad Rayyan
On 9/15/14, 1:19 PM

Many thanks , the problem solved but

new problem is : TypeError: cannot concatenate 'str' and 'bool' objects

this error apears once i moved from page to page , trying to uninstall module .

i tried to convert the values in the return statment into str but nothing happens .

" im trying to solve the problems manually to be familiar with openerp "

 

OpenERP Server Error

Client Traceback (most recent call last): File "C:\OpenERP\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\OpenERP\Server\server\openerp\addons\web\controllers\main.py", line 1132, in call_button File "C:\OpenERP\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 103, in send Server Traceback (most recent call last): File "C:\OpenERP\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\OpenERP\Server\server\.\openerp\netsvc.py", line 296, in dispatch_rpc File "C:\OpenERP\Server\server\.\openerp\service\web_services.py", line 622, in dispatch File "C:\OpenERP\Server\server\.\openerp\service\security.py", line 40, in check File "C:\OpenERP\Server\server\.\openerp\pooler.py", line 49, in get_pool File "C:\OpenERP\Server\server\.\openerp\pooler.py", line 33, in get_db_and_pool File "C:\OpenERP\Server\server\.\openerp\modules\registry.py", line 203, in get File "C:\OpenERP\Server\server\.\openerp\modules\registry.py", line 233, in new File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 350, in load_modules File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 256, in load_marked_modules File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 192, in load_module_graph File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 77, in <lambda> File "C:\OpenERP\Server\server\.\openerp\modules\loading.py", line 124, in _load_data File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 959, in convert_xml_import File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 852, in parse File "C:\OpenERP\Server\server\.\openerp\tools\convert.py", line 819, in _tag_record File "C:\OpenERP\Server\server\openerp\addons\base\ir\ir_model.py", line 971, in _update File "C:\OpenERP\Server\server\openerp\addons\project\project.py", line 570, in create File "C:\OpenERP\Server\server\openerp\addons\mail\mail_thread.py", line 252, in create File "C:\OpenERP\Server\server\.\openerp\osv\orm.py", line 4444, in create File "C:\OpenERP\Server\server\openerp\addons\project\project.py", line 1328, in create File "C:\OpenERP\Server\server\openerp\addons\mail\mail_thread.py", line 256, in create File "C:\OpenERP\Server\server\openerp\addons\mail\mail_thread.py", line 1183, in message_post File "C:\OpenERP\Server\server\openerp\addons\mail\mail_message.py", line 750, in create File "C:\OpenERP\Server\server\.\openerp\osv\orm.py", line 4561, in create File "C:\OpenERP\Server\server\.\openerp\osv\orm.py", line 4714, in _store_set_values File "C:\OpenERP\Server\server\.\openerp\osv\fields.py", line 1145, in get File "C:\OpenERP\Server\server\openerp\addons\mail\mail_message.py", line 81, in _get_record_name File "C:\OpenERP\Server\server\openerp\addons\analytic\analytic.py", line 116, in name_get File "C:\OpenERP\Server\server\openerp\addons\analytic\analytic.py", line 131, in _get_one_full_name File "C:\OpenERP\Server\server\openerp\addons\analytic\analytic.py", line 134, in _get_one_full_name TypeError: cannot concatenate 'str' and 'bool' objects

 

Best Regards .

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)

Stats

Asked: 9/15/14, 7:55 AM
Seen: 1249 times
Last updated: 3/16/15, 8:10 AM