Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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

Reply via email to