This is not a bug. It's a functionality of Timesheet when You create a Timesheet then it is for current week. and when You create a Timsheet Activity then Timesheet Activity automatically takes the default Timesheet according to Current Date and Time.
You cab See the attached Sheet in the Form view of Timesheet Activity. Field name is SHEET(which is a read only field and can not be modified). You got Constraint Error because when You created Second Activity while sheet attached according to current date/time is already approved by you. try with different date/time You won't get error. -- 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 _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

