Error raised when modifying a timesheet line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
in OpenERP v6.1 (rev 7315) there is a bug when we try to modify a task work:
File "/home/
return super(task,
File "/home/
result = super(task,
File "/home/
result += self._columns[
File "/home/
obj.write(cr, user, [act[1]], act[2], context=context)
File "/home/
unit_
KeyError: 'journal_id'
I tested it on the runbot, here are the steps:
1/ Pick any task from the Project / Tasks menu and start it.
2/ Create a task work (timesheet) and put any information you want.
3/ Save.
4/ Modify for instance the time spent on the task work and try to save.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedproject_timesheet/project_timesheet.py (+1/-1)