openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #25609
[Bug 1229866] Re: Create timesheet record on a confirmed/done timesheet
** Changed in: openobject-addons
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1229866
Title:
Create timesheet record on a confirmed/done timesheet
Status in OpenERP Addons (modules):
Invalid
Bug description:
In openerp 7.0
- Create new database (could be without demo)
- Install "project_timesheet"
- Go to human resource/my current timesheet. Save it
- Go to human resource/timesheet activities. Create one with actual date (it is on the timesheet we have just created)
- Go to human resource/my current timesheet. Click on "submit to manager" and then on "approve"
- Go to human resource/timesheet activities Create one with actual date (it is on the timesheet we have just close) No error given. Try to modify any saved record --> Constraint error "Error occurred while validating the field(s) state: You cannot modify an entry in a Confirmed/Done timesheet !"
Conclusion: Constraint error is only working on writing and not on
creation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1229866/+subscriptions
References