Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.0 mig hr attendance report theoretical time #1

Commits on Dec 10, 2019

  1. [ADD] hr_attendance_report_theoretical_time

    Theoretical vs Attended Time Analysis
    =====================================
    
    This module adds a new report called "Theoretical vs Attended Time Analysis"
    that compares worked time, measured through attendances records, with the
    theoretical time, computed from employee's working calendar, public holidays
    and employee specific leaves.
    
    There is the possibility of counting as theoretical time some leave types if
    specified in them.
    
    Installation
    ============
    
    On installation time, this module computes the theoretical hours for the day of
    the attendance check-in, so if you have a lot of records, this would be a bit
    slow.
    
    Configuration
    =============
    
    You need to be at least "Attendance / Manual Attendance" for being able to see
    the attendances report.
    
    For including some leave types in the theoretical time, you have to:
    
    * Go to Leaves > Configuration.
    * Select leave type you want to include.
    * Check the mark "Include in theoretical hours".
    
    Usage
    =====
    
    * Go to *Attendances > Reports > Theoretical vs Attended Time Analysis*.
    * Check pivot table or look at the graph view.
    
    Known issues / Roadmap
    ======================
    
    * Employees with less than 1 week in the company will show full week
      theoretical hours.
    * Activate ORM cache for improving performance on computing theoretical hours,
      but assuring that the cache is cleared when the conditions of the computation
      changes.
    * If you change employee's working time, theoretical hours for non attended
      days will be computed according this new calendar. You have to define
      start and end dates inside the calendar for avoiding this side effect.
    * Recompute theoretical hours of affected days when changing the leave type
      to be included or not in theoretical time.
    pedrobaeza authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    09198c4 View commit details
    Browse the repository at this point in the history
  2. Translated using Weblate (German)

    Currently translated at 100.0% (26 of 26 strings)
    
    Translation: hr-10.0/hr-10.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-10-0/hr-10-0-hr_attendance_report_theoretical_time/de/
    marylla authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    9ce01a2 View commit details
    Browse the repository at this point in the history
  3. Update translation files

    Updated by Update PO files to match POT (msgmerge) hook in Weblate.
    oca-transbot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    49d1d78 View commit details
    Browse the repository at this point in the history
  4. [MIG] hr_attendance_report_theoretical_time: Migration to 12.0

    * Standard procedure
    * Adapt data model
    * Adapt views
    * Adapt code for date handling
    * Adapt tests
    pedrobaeza authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    57dadcd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bd036c5 View commit details
    Browse the repository at this point in the history
  6. [12.0] hr_attendance_report_theoretical_time: add my attendance as de…

    …fault filter
    Timon Tschanz authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    75c077f View commit details
    Browse the repository at this point in the history
  7. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/
    oca-transbot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    51b8773 View commit details
    Browse the repository at this point in the history
  8. Added translation using Weblate (French)

    Kévin Allard authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    a55abd7 View commit details
    Browse the repository at this point in the history
  9. Translated using Weblate (French)

    Currently translated at 80.8% (21 of 26 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/fr/
    Kévin Allard authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    8ba8e27 View commit details
    Browse the repository at this point in the history
  10. Translated using Weblate (French)

    Currently translated at 80.8% (21 of 26 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/fr/
    Kévin Allard authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    9c4a909 View commit details
    Browse the repository at this point in the history
  11. Translated using Weblate (French)

    Currently translated at 80.8% (21 of 26 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/fr/
    Kévin Allard authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    c50c8d4 View commit details
    Browse the repository at this point in the history
  12. [12.0][FIX] Travis Failing Holidays Leave Type Validity

    Jaime Arroyo authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    44383bd View commit details
    Browse the repository at this point in the history
  13. Translated using Weblate (German)

    Currently translated at 100.0% (26 of 26 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/de/
    marylla authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    f68a732 View commit details
    Browse the repository at this point in the history
  14. Translated using Weblate (Spanish)

    Currently translated at 100.0% (26 of 26 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/es/
    Jaime Arroyo authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    8a149d4 View commit details
    Browse the repository at this point in the history
  15. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    4a4d9c7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a6669b6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    408ff24 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    54f4ee2 View commit details
    Browse the repository at this point in the history
  19. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/
    oca-transbot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    35db47f View commit details
    Browse the repository at this point in the history
  20. Translated using Weblate (German)

    Currently translated at 97.6% (41 of 42 strings)
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/de/
    marylla authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    148a799 View commit details
    Browse the repository at this point in the history
  21. [IMP] hr_attendance_report_theoretical_time: recompute attendances

    - We add a wizard so the already existing attendances can be recomputed
    according to an employee calendar change, like a different for a set of
    dates that weren't took into consideration in advance, so the wrong
    theoretical hours are computed.
    chienandalu authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    7532ed3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f12e6b2 View commit details
    Browse the repository at this point in the history
  23. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    863d801 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8c56b91 View commit details
    Browse the repository at this point in the history
  25. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-12.0/hr-12.0-hr_attendance_report_theoretical_time
    Translate-URL: https://translation.odoo-community.org/projects/hr-12-0/hr-12-0-hr_attendance_report_theoretical_time/
    oca-transbot authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    50cbc9f View commit details
    Browse the repository at this point in the history
  26. [12.0][FIX] hr_attendance_report_theoretical_time: menu permissions

    - Although the minor permission to access the theoretical time report is
    "Manual Attendance", the menu wasn't accessible due to permissions.
    - Record rules also prevent such users from seeing other employees
    attendances.
    chienandalu authored and pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    7f0319f View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ffba1f0 View commit details
    Browse the repository at this point in the history
  28. [IMP] : black, isort

    pegonzalezspesol committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    cc1b4f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Configuration menu
    Copy the full SHA
    d62d243 View commit details
    Browse the repository at this point in the history