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

[17.0][MIG] hr_employee_calendar_planning #1355

Merged

Commits on Aug 6, 2024

  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.
    
    [UPD] README.rst
    pedrobaeza authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    541ac98 View commit details
    Browse the repository at this point in the history
  2. [MIG] hr_employee_calendar_planning

    [UPD] README.rst
    Jaime Arroyo authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ea1b486 View commit details
    Browse the repository at this point in the history
  3. [12.0][MIG] hr_employee_calendar_planning

    [UPD] Update hr_employee_calendar_planning.pot
    Jaime Arroyo authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c23d10b View commit details
    Browse the repository at this point in the history
  4. [12.0][IMP] hr_employee_calendar_planning

    Add _description for model hr.employee.calendar to make it pass runbot.
    
    [UPD] Update hr_employee_calendar_planning.pot
    Kitti Ecosoft authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1925d68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    58b1d17 View commit details
    Browse the repository at this point in the history
  6. [13.0][MIG] hr_employee_calendar_planning

    Jaime Arroyo authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    297e87b View commit details
    Browse the repository at this point in the history
  7. [13.0][IMP] support for two_week calendar

    [UPD] Update hr_employee_calendar_planning.pot
    
    [UPD] README.rst
    
    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/
    Jaime Arroyo authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9d63679 View commit details
    Browse the repository at this point in the history
  8. [FIX] hr_employee_calendar_planning: link leaves

    - On the module init, existing employee calendar leaves should be linked
    to the employee's new autocalendar.
    
    hr_employee_calendar_planning 13.0.1.0.1
    chienandalu authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    341fa15 View commit details
    Browse the repository at this point in the history
  9. [UPD] Eficent -> ForgeFlow

    [UPD] README.rst
    MiquelRForgeFlow authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c444aad View commit details
    Browse the repository at this point in the history
  10. [14.0][MIG] hr_employee_calendar_planning

    [UPD] Update hr_employee_calendar_planning.pot
    
    [UPD] README.rst
    aphon61bank authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    2e11314 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dc1edab View commit details
    Browse the repository at this point in the history
  12. 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 pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a750833 View commit details
    Browse the repository at this point in the history
  13. [FIX] hr_employee_calendar_planning: Prevent disable resource.calenda…

    …r when is related to some employee
    
    [UPD] Update hr_employee_calendar_planning.pot
    
    hr_employee_calendar_planning 14.0.1.0.2
    
    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/
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    cdc3cf9 View commit details
    Browse the repository at this point in the history
  14. [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.
    
    [UPD] Update hr_employee_calendar_planning.pot
    
    hr_employee_calendar_planning 14.0.1.1.0
    
    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/
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c0b1fe1 View commit details
    Browse the repository at this point in the history
  15. [FIX] hr_employee_calendar_planning: Force to auto generate calendar …

    …even when calendar is not active.
    
    TT31606
    
    [UPD] Update hr_employee_calendar_planning.pot
    
    [UPD] README.rst
    
    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/
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    e59ac14 View commit details
    Browse the repository at this point in the history
  16. [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 pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f592f3d View commit details
    Browse the repository at this point in the history
  17. [FIX] hr_employee_calendar_planning: Regenerate the automatic calenda…

    …r if calendars have been defined in employee creation.
    
    TT32425
    
    [UPD] README.rst
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    668f9ae View commit details
    Browse the repository at this point in the history
  18. 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 pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    d2b7deb View commit details
    Browse the repository at this point in the history
  19. [FIX] hr_employee_calendar_planning: Prevent inconsistent company + A…

    …void create employees without calendar planing.
    
    TT35897
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f994ec9 View commit details
    Browse the repository at this point in the history
  20. [UPD] Update hr_employee_calendar_planning.pot

    hr_employee_calendar_planning 14.0.1.3.1
    
    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-ci authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ad514aa View commit details
    Browse the repository at this point in the history
  21. [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``
    
    hr_employee_calendar_planning 14.0.1.4.0
    luistorresm authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c359e23 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    4c4a3dd View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b29a08c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    0090daa View commit details
    Browse the repository at this point in the history
  25. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (23 of 23 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/es_AR/
    
    hr_employee_calendar_planning 14.0.1.4.1
    nimarosa authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    77919f6 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b0ae873 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    47f56dd View commit details
    Browse the repository at this point in the history
  28. [UPD] README.rst

    OCA-git-bot authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    87d1d79 View commit details
    Browse the repository at this point in the history
  29. [IMP] hr_employee_calendar_planning: Hide resource_calendar_id field …

    …from employee public form view
    
    TT40038
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1305d59 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    41a8350 View commit details
    Browse the repository at this point in the history
  31. [FIX] hr_employee_calendar_planning: prevent regenerate_calendar-writ…

    …e loop when creating new employees
    jonasbuchholz authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fdedbb3 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    c6f617f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    3d51094 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    0f8e421 View commit details
    Browse the repository at this point in the history
  35. [FIX] hr_employee_calendar_planning: no constraint on install mode

    When another module was installed with demo data but without testing mode, if the demo data includes some `hr.employee` record, it was impossible to install it after `hr_employee_calendar_planning` was installed.
    
    @moduon MT-1622
    yajo authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a392a1a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    bf9d251 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    8fd78a4 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    1ca3313 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    f736cef View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    b572828 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    41af4a8 View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Italian)

    Currently translated at 100.0% (23 of 23 strings)
    
    Translation: hr-15.0/hr-15.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_calendar_planning/it/
    mymage authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c4b7960 View commit details
    Browse the repository at this point in the history
  43. Translated using Weblate (Italian)

    Currently translated at 100.0% (23 of 23 strings)
    
    Translation: hr-15.0/hr-15.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_calendar_planning/it/
    francesco-ooops authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    29516de View commit details
    Browse the repository at this point in the history
  44. [FIX] hr_employee_calendar_planning: fill calendar if empty

    We should only fill the calendar with sync_user if and only if you don't have one
    
    Sync user is used also when we modify the user of an employee
    etobella authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    8c92ba0 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    5ac278b View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    1d99b2c View commit details
    Browse the repository at this point in the history
  47. [IMP] hr_employee_calendar_planning: Allow to archive when calendars …

    …have finished.
    
    Show them on calendar view
    etobella authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    2434875 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    71f3174 View commit details
    Browse the repository at this point in the history
  49. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-15.0/hr-15.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_employee_calendar_planning/
    weblate authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5062363 View commit details
    Browse the repository at this point in the history
  50. [IMP] hr_employee_calendar_planning: Set calendar_ids default value t…

    …o cover all use cases
    
    TT44093
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    14bfed8 View commit details
    Browse the repository at this point in the history
  51. [FIX] hr_employee_calendar_planning: Add ondelete to employee_id and …

    …calendar_id fields to allow removal
    
    TT44093
    victoralmau authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f1e3411 View commit details
    Browse the repository at this point in the history
  52. [FIX] hr_employee_calendar_planning: avoid constrain on global leaves…

    … by linking new leaves to auto-generated calendars on creation
    jonasbuchholz authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ab01d5f View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    deadf2c View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    0315895 View commit details
    Browse the repository at this point in the history
  55. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: hr-16.0/hr-16.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_calendar_planning/
    weblate authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    32f2920 View commit details
    Browse the repository at this point in the history
  56. Translated using Weblate (Spanish)

    Currently translated at 100.0% (24 of 24 strings)
    
    Translation: hr-16.0/hr-16.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_calendar_planning/es/
    Ivorra78 authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    489b523 View commit details
    Browse the repository at this point in the history
  57. Translated using Weblate (Italian)

    Currently translated at 100.0% (24 of 24 strings)
    
    Translation: hr-16.0/hr-16.0-hr_employee_calendar_planning
    Translate-URL: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_employee_calendar_planning/it/
    mymage authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9b3cb26 View commit details
    Browse the repository at this point in the history
  58. [FIX]hr_employee_calendar_planning: only necessary leaves

    Only create and unlink necessary resource_calendar_leaves
    ChristophAbenthungCibex authored and pedro-evaristo-pegon committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    520085c View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    bdfc61d View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    d02a431 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    772108b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

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