Timesheet lines not deleted from database even after deleting a timesheet

Bug #553205 reported by Sohan Solanki(sos-Axelor)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Low
Unassigned

Bug Description

In database the timesheet line of hr timesheet would not deleted even after deleting a timesheet of that timesheet line.

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Hi,

Please Could you add the version of OpenERP ?

Thanks

Changed in openobject-addons:
status: Confirmed → Incomplete
Revision history for this message
Sohan Solanki(sos-Axelor) (sos-axelor) wrote :

OpenERP stable version 5.0.7 with server revision 2026 and addons revision 2686

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello guys,
I would treat this as an improvement.
From User/functional aspects, the timesheet lines should be deleted.
Speaking technically, timesheet lines to timesheet relation is 'weak'. i.e. there is no such direct relation between these 2 objects from DB. We have the functional field sheet_id to relate to the timesheet.

My personal view stands as we can remove the timesheet lines when the sheet is deleted(By calling unlink of timesheet-line and concerned account-analytic-line).

Share your views please.
Thanks.

Changed in openobject-addons:
importance: Undecided → Low
milestone: none → 6.0
status: Incomplete → Confirmed
Revision history for this message
Ferdinand (office-chricar) wrote :

Here a lot of people deleted their time sheets unintentionally - luckily the lines were not deleted as these are basis for invoicing or already invoiced.

Revision history for this message
Dhruti Shastri(OpenERP) (dhs-openerp) wrote :

These timesheet lines are not only used for timesheet entries, these are analytic lines which can be used for invoicing(for project invoicing too).

Removing them doesn't seem to be a good idea.

Hope this is clear.

Thanks.

Changed in openobject-addons:
status: Confirmed → Invalid
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.