parent
8f2255fe7c
commit
c26ed4d706
|
@ -1,7 +1,7 @@
|
|||
-
|
||||
In order to test resource.
|
||||
-
|
||||
I assign workig calendar '45 Hours/Week' to human resource.
|
||||
I assign working calendar '45 Hours/Week' to human resource.
|
||||
-
|
||||
!python {model: resource.resource}: |
|
||||
self.write(cr, uid, [ref('resource_analyst'), ref('resource_designer'), ref('resource_developer')], {'calendar_id' : ref('timesheet_group1'), 'resource_type': 'user'})
|
||||
|
@ -47,7 +47,7 @@
|
|||
hours = self.interval_hours_get(cr, uid, ref('timesheet_group1'), dt_from, dt_to, resource=ref('resource_developer'))
|
||||
assert hours > 27 , 'Invalid Total Week working hour calculated'
|
||||
-
|
||||
Project Analysis work is of 20 hours which will start from Week startso i will calculate working schedule for resource Analyst for the same.
|
||||
Project Analysis work is of 20 hours which will start from Week start so i will calculate working schedule for resource Analyst for the same.
|
||||
-
|
||||
!python {model: resource.calendar}: |
|
||||
|
||||
|
|
Loading…
Reference in New Issue