[5.0] error when install project_timesheet

Bug #347445 reported by Christophe CHAUVET
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Server revno: 1756
Addons revno: 2267
Client revno: 949

In 5.0, error when installing project_timesheet

--------------8<---------------8<-------------
[2009-03-23 18:33:55,999] CRITICAL:init:Couldn't load module project_timesheet
[2009-03-23 18:33:55,999] CRITICAL:init:
[2009-03-23 18:33:56,029] ERROR:web-services:[01]: Exception in call: Traceback (most recent call last):
[2009-03-23 18:33:56,029] ERROR:web-services:[02]: File "/home/kryskool/dev/5.0/crm/server/bin/wizard/__init__.py", line 74, in execute_cr
[2009-03-23 18:33:56,029] ERROR:web-services:[03]: action_res = action(self, cr, uid, data, context)
[2009-03-23 18:33:56,030] ERROR:web-services:[04]: File "/home/kryskool/dev/5.0/crm/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
[2009-03-23 18:33:56,030] ERROR:web-services:[05]: db, pool = pooler.restart_pool(cr.dbname, update_module=True)
[2009-03-23 18:33:56,030] ERROR:web-services:[06]: File "/home/kryskool/dev/5.0/crm/server/bin/pooler.py", line 62, in restart_pool
[2009-03-23 18:33:56,030] ERROR:web-services:[07]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2009-03-23 18:33:56,030] ERROR:web-services:[08]: File "/home/kryskool/dev/5.0/crm/server/bin/pooler.py", line 40, in get_db_and_pool
[2009-03-23 18:33:56,030] ERROR:web-services:[09]: addons.load_modules(db, force_demo, status, update_module)
[2009-03-23 18:33:56,031] ERROR:web-services:[10]: File "/home/kryskool/dev/5.0/crm/server/bin/addons/__init__.py", line 715, in load_modules
[2009-03-23 18:33:56,031] ERROR:web-services:[11]: r = load_module_graph(cr, graph, status, report=report)
[2009-03-23 18:33:56,031] ERROR:web-services:[12]: File "/home/kryskool/dev/5.0/crm/server/bin/addons/__init__.py", line 577, in load_module_graph
[2009-03-23 18:33:56,031] ERROR:web-services:[13]: register_class(package.name)
[2009-03-23 18:33:56,031] ERROR:web-services:[14]: File "/home/kryskool/dev/5.0/crm/server/bin/addons/__init__.py", line 399, in register_class
[2009-03-23 18:33:56,031] ERROR:web-services:[15]: imp.load_module(m, *fm)
[2009-03-23 18:33:56,031] ERROR:web-services:[16]: File "/home/kryskool/dev/5.0/crm/addons/project_timesheet/__init__.py", line 22, in <module>
[2009-03-23 18:33:56,032] ERROR:web-services:[17]: import project_timesheet
[2009-03-23 18:33:56,032] ERROR:web-services:[18]: File "/home/kryskool/dev/5.0/crm/addons/project_timesheet/project_timesheet.py", line 97
[2009-03-23 18:33:56,032] ERROR:web-services:[19]: delete entry from timesheet too while deleting entry to task.
[2009-03-23 18:33:56,032] ERROR:web-services:[20]: ^
[2009-03-23 18:33:56,032] ERROR:web-services:[21]: IndentationError: unexpected indent
--------------8<---------------8<-------------

Distribution: Ubuntu
Version: 8.10 (intrepid)
Python 2.5.2

Locale:
  LANG=fr_FR.UTF-8

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

fixed in branches/5

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

A regression was introduce when correct this issue

See branch related

Changed in openobject-addons:
status: Fix Released → New
Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.