~hr-core-editors/hr-timesheet/7.0

Viewing all changes in revision 62.

  • Committer: Guewen Baconnier
  • Author(s): Laetitia Gangloff (Acsone)
  • Date: 2014-03-07 14:28:50 UTC
  • mfrom: (57.3.2 hr-timesheet)
  • Revision ID: guewen.baconnier@camptocamp.com-20140307142850-zj19igde0kb7cf25
hr_attendance_analysis: externalise contract calendar

In order to be able to use another calendar in some extension modules:
- rename get_active_contracts to get_reference_calendar and return the possible calendar attached to retrieve contract
- update code to take account of this change (_get_attendance_duration and print_calendar method)
- externalise store part of column in _store_rules to easily extends it

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: