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

[15.0][MIG] hr_employee_calendar_planning #1086

Commits on Jul 7, 2022

  1. [ADD] hr_employee_calendar_planning: Employee Calendar Planning

    This module allows to manage employee working time with profiles by date
    intervals.
    
    The profiles are regular working time calendars, but they are treated as
    master ones here, allowing you to compose complexes working times by dates.
    
    Under the hook, a unique working time is created for each employee with the
    proper composition for not affecting the rest of the functionality linked to
    this model.
    
    Installation
    ============
    
    During the installation of the module, current working times are split by
    start/end dates for having consistent data, and the potential new composed
    calendar planning is saved instead on the employee.
    
    Configuration
    =============
    
    1. Go to *Employees > Employees*.
    2. Open or create a new one.
    3. On the "Public Information" page, fill the section "Calendar planning" with:
    
       * Starting date (optional).
       * Ending date (optional).
       * Working time to apply during that date interval.
    
    Known issues / Roadmap
    ======================
    
    * Add a wizard for generating next year calendar planning based on current one
      in batch.
    * Add constraint for avoiding planning lines overlapping.
    * Avoid the regeneration of whole private calendars each time a change is
      detected.
    pedrobaeza authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    e81b25f View commit details
    Browse the repository at this point in the history
  2. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    7ac3f1d View commit details
    Browse the repository at this point in the history
  3. [MIG] hr_employee_calendar_planning

    Jaime Arroyo authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    ae14ffa View commit details
    Browse the repository at this point in the history
  4. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    84c7733 View commit details
    Browse the repository at this point in the history
  5. [12.0][MIG] hr_employee_calendar_planning

    Jaime Arroyo authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    3dd8b49 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d229ebf View commit details
    Browse the repository at this point in the history
  7. [12.0][IMP] hr_employee_calendar_planning

    Add _description for model hr.employee.calendar to make it pass runbot.
    Kitti Ecosoft authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    e576155 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a33b2a0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    95929a9 View commit details
    Browse the repository at this point in the history
  10. [13.0][MIG] hr_employee_calendar_planning

    Jaime Arroyo authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    e2b1553 View commit details
    Browse the repository at this point in the history
  11. [13.0][IMP] support for two_week calendar

    Jaime Arroyo authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    1a2c82c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b633e66 View commit details
    Browse the repository at this point in the history
  13. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    504e9ba View commit details
    Browse the repository at this point in the history
  14. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-13.0/hr-13.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_employee_calendar_planning/
    oca-transbot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    b704617 View commit details
    Browse the repository at this point in the history
  15. [FIX] hr_employee_calendar_planning: link leaves

    - On the module init, existing employee calendar leaves should be linked
    to the employee's new autocalendar.
    chienandalu authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    0e63d0d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e7892c7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f4f929b View commit details
    Browse the repository at this point in the history
  18. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    4a33bfd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    65ecd89 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5e76cb1 View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    818d611 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    627d987 View commit details
    Browse the repository at this point in the history
  23. Translated using Weblate (French)

    Currently translated at 94.4% (17 of 18 strings)
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/fr/
    Yvesldff authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    ccea68d View commit details
    Browse the repository at this point in the history
  24. [FIX] hr_employee_calendar_planning: Prevent disable resource.calenda…

    …r when is related to some employee
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    52de1e9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    9bda277 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c11ebbb View commit details
    Browse the repository at this point in the history
  27. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/
    oca-transbot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    094aeca View commit details
    Browse the repository at this point in the history
  28. [FIX] hr_employee_calendar_planning: Add check_company to calendar_id…

    … field in to show only allowed records according to company. Add constraint to prevent change avoid changing the company when the calendar is linked to an employee of another company.
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    ca04357 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    fa87ee8 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    f528d16 View commit details
    Browse the repository at this point in the history
  31. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/
    oca-transbot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    da12074 View commit details
    Browse the repository at this point in the history
  32. [FIX] hr_employee_calendar_planning: Force to auto generate calendar …

    …even when calendar is not active.
    
    TT31606
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    a7f4f9b View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c686828 View commit details
    Browse the repository at this point in the history
  34. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    c909ae7 View commit details
    Browse the repository at this point in the history
  35. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/
    oca-transbot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    4b3b6df View commit details
    Browse the repository at this point in the history
  36. [FIX] hr_employee_calendar_planning: Regenerate automatic calendar 2 …

    …weeks.
    
    Regenerate automatic calendar correctly when calendars are 2 weeks old (or any of them are 2 weeks old).
    TT32425
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    27363b2 View commit details
    Browse the repository at this point in the history
  37. [FIX] hr_employee_calendar_planning: Regenerate the automatic calenda…

    …r if calendars have been defined in employee creation.
    
    TT32425
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    ec604ff View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    4135dd4 View commit details
    Browse the repository at this point in the history
  39. Translated using Weblate (Catalan)

    Currently translated at 100.0% (22 of 22 strings)
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/ca/
    Noel000 authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    b9cba13 View commit details
    Browse the repository at this point in the history
  40. [FIX] hr_employee_calendar_planning: Prevent inconsistent company + A…

    …void create employees without calendar planing.
    
    TT35897
    victoralmau authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    0add05f View commit details
    Browse the repository at this point in the history
  41. [UPD] Update hr_employee_calendar_planning.pot

    oca-ci authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    3f8014e View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    2a58ec9 View commit details
    Browse the repository at this point in the history
  43. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-14.0/hr-14.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_employee_calendar_planning/
    oca-transbot authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    6380242 View commit details
    Browse the repository at this point in the history
  44. [FIX] hr_employee_calendar_planning: Avoid error with parent

    Parent is not necessary on context, this returns the next error when you
    try to select a calendar planning on the employee:
    ``Uncaught Error: NameError: name 'parent' is not defined``
    luistorresm authored and pegonzalezspesol committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    6d15a19 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    859195c View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    abb7a64 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    4c9ca07 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    2e89948 View commit details
    Browse the repository at this point in the history