Commit Graph
4 Commits
Author SHA1 Message Date
Raphael Collet 975c6c8639 [REF] resource calendar (#24717)
Refactor resource calendar and resource mixin:
 - add a required timezone field on models 'resource.calendar' and 'resource.resource';
 - resource calendar attendances are now computed in the timezone of the resource
   or the calendar;
 - improve API of 'resource.calendar' and 'resource.mixin';
 - avoid other modules from using the implementation methods of 'resource.calendar';
 - refactor implementation of 'resource.calendar' to make it more efficient.
2018-05-31 20:28:12 +02:00
Arnold Moyaux 07843bd4c9 [FIX] mrp: consider timezone in test 2018-03-26 13:46:32 +02:00
Arnold Moyaux dad3b4a663 [FIX] mrp: test_oee works during the weekend
It happens due to workcenter working hours,
the workcenter is not active during the weekend thus
the productivity loss are not counted in the oee.

This commit removes 2 days to the test date if it is
during the weekend.
2018-02-05 11:48:56 +01:00
Mehul Patel cb8a0b4575 [IMP] mrp: oee test case. 2018-01-09 16:17:04 +01:00