Hello Guewen, I already tried Complete Scenario given by You and got the same constraint error.
But when I browsed the Code of the object then feel that it is a functionality. if Christian is agree then it may be bug. -- 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): Confirmed 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

