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] project_timeline: Migration to version 17.0 #1354

Merged
merged 50 commits into from
Oct 22, 2024

Commits on Oct 19, 2024

  1. project_timeline

    ==========================
    Timeline view for projects
    ==========================
    
    This module extends the standard tasks actions to add the timeline view to
    them, and also adds the needed fields in the view for handling them.
    
    Usage
    =====
    
    * Go to *Project > Project > Tasks*.
    * Click on the icon with a clock.
    * You will see the tasks in the new view.
    pedrobaeza authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    44d7c48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab404f9 View commit details
    Browse the repository at this point in the history
  3. Add start and end date in task form view (OCA#324)

    * [IMP] Add start and end date in task form view
    
    * [IMP] Add start and end date in task form view
    Doscaal authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    236bcc3 View commit details
    Browse the repository at this point in the history
  4. Project Timeline to V11

    Maartincm authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    9ed35fa View commit details
    Browse the repository at this point in the history
  5. [IMP] project_timeline: 4 improvements:

    * Timeline for project.project (OCA#398)
    
      Creates a timeline for projects. Useful for huge campaigns with multiple projects.
    
    * Unsetting date_end (OCA#402)
    
    * Tests
    
    * Task timeline template (OCA#410)
    tarteo authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    e6d6696 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a894e57 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e637f48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    480ced3 View commit details
    Browse the repository at this point in the history
  9. project_timeline: unset date_end more safely

    Currently, if `date_end` is not set it will result in a KeyError.
    Naglis Jonaitis authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    5e97e79 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6656801 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1e77e7f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    51f4755 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2f73b79 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bac0168 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1641650 View commit details
    Browse the repository at this point in the history
  16. [IMP] project_timeline : consistency of tasks colors regarding kanban…

    …_state : blocked tasks are red and task without user are white
    
    [IMP] project_timeline : planned_hours is displayed only if not null
    legalsylvain authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    ec987e7 View commit details
    Browse the repository at this point in the history
  17. [FIX] project_timeline remove task view mode

    Modules that bring `gantt` and `map` view mode are not declared in module dependency
    Those modes were introduced by https://github.com/OCA/project/pull/869/files#r785447743
    petrus-v authored and carlos-lopez-tecnativa committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    ebba368 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c194dcc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    342c639 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    637f48d View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. Configuration menu
    Copy the full SHA
    4c61e4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46105c3 View commit details
    Browse the repository at this point in the history
  3. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 33.3% (2 of 6 strings)
    
    Translation: project-15.0/project-15.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_timeline/pt_BR/
    douglascstd authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e7ec2c0 View commit details
    Browse the repository at this point in the history
  4. [MIG] project_timeline: Migration to 16.0

    Removed oca_dependencies file as longer needed
    bvanjeelharia authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    1305c88 View commit details
    Browse the repository at this point in the history
  5. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/
    weblate authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    fa95d45 View commit details
    Browse the repository at this point in the history
  6. Translated using Weblate (German)

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/de/
    NICO-SOLUTIONS authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    6911b7e View commit details
    Browse the repository at this point in the history
  7. [FIX]project_timeline: Add timeline view to model report.project.task

    This prevents "no timeline view found" error.
    This is based in PR OCA#1152
    moitabenfdz authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    cab4666 View commit details
    Browse the repository at this point in the history
  8. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/pt_BR/
    adrianojprado authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    985407e View commit details
    Browse the repository at this point in the history
  9. Translated using Weblate (Spanish)

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/es/
    Ivorra78 authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    82e1af7 View commit details
    Browse the repository at this point in the history
  10. Translated using Weblate (Dutch)

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/nl/
    Jan-Onestein authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    a18fb5e View commit details
    Browse the repository at this point in the history
  11. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/
    weblate authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    2820436 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2d5c1e8 View commit details
    Browse the repository at this point in the history
  13. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/es_AR/
    ibuioli authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    eab5d74 View commit details
    Browse the repository at this point in the history
  14. [FIX] project_timeline: Remove redundant view

    In Odoo 16, project forms already have these 2 date fields with a nice
    date-range widget.
    
    The view being removed here adds these date fields at the top of the
    form (next to an invisible field).
    houzefa-abba authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    f8ced20 View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (French)

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/fr/
    houzefa-abba authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    0796291 View commit details
    Browse the repository at this point in the history
  16. Translated using Weblate (Swedish)

    Currently translated at 100.0% (3 of 3 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/sv/
    jakobkrabbe authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    ab3b258 View commit details
    Browse the repository at this point in the history
  17. [FIX] project_timeline: Fix unassigned task color

    Unassigned tasks are supposed to show up in white instead of default
    color, but the previous `== []` comparison is no longer working in Odoo
    16 / with web_timeline 16.0.1.0.3.
    
    This is because web_timeline forces string conversion during evaluation
    of these color instructions, and an empty `user_ids` is an empty string
    in this case.
    
    This does look somewhat odd but fixes the issue short of rewriting
    py-eval instructions in web_timeline, which would be a much larger task.
    houzefa-abba authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    8a8b98d View commit details
    Browse the repository at this point in the history
  18. [FIX] project_timeline: Fix demo task dates

    This commit fixes inconsistent dates we get when building a demo DB.
    
    This module adds a `date_start` field; this is the one we want to fill
    in demo data.
    We do not want to fill `date_assign`, which is an automatic field.
    
    This is how this module used to work in v12 (was based on `date_start`).
    * v12➔v13 MIG: Odoo removed the base `date_start` field so `date_start` was
      changed to `date_assign` in this module.
    * v13➔v14 MIG: `date_start` was added back into this module to restore
      v12 behavior. However, demo data then got left untouched.
    houzefa-abba authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    9b1e6b9 View commit details
    Browse the repository at this point in the history
  19. [IMP] project_timeline: Add date constraint

    Ensure `date_start` (added by this module) is always before `date_end`
    (base Odoo field in the `project` module).
    houzefa-abba authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    3f0e119 View commit details
    Browse the repository at this point in the history
  20. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/
    weblate authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    04927d8 View commit details
    Browse the repository at this point in the history
  21. Translated using Weblate (Italian)

    Currently translated at 100.0% (4 of 4 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/it/
    mymage authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    f498ebd View commit details
    Browse the repository at this point in the history
  22. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (4 of 4 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/es_AR/
    ibuioli authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    6c00157 View commit details
    Browse the repository at this point in the history
  23. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (4 of 4 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/pt_BR/
    augustodinizl authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    d23047a View commit details
    Browse the repository at this point in the history
  24. [REF] project_timeline: Use dedicated fields for timeline planning

    The fields `date_assign` and `date_end` can't be used, as they are
    automatically rewritten on certain flow events (user assignation and
    stage changed to finished one), so we need dedicated fields for the
    planning. A previous change switches `date_assign` to `date_start`, but
    it didn't change demo data, and better to use a consistent naming,
    prefixing both fields with `planned_`.
    
    This includes the migration scripts for preserving previous data, and
    automations to fill planned data from the previous fields. It also
    pre-fills planning information from assignation date/close date as a
    best effort pre-planning for existing tasks.
    
    TT50618
    
    Co-Authored-By: Pedro M. Baeza <[email protected]>
    
    [IMP] project_timeline: Add planned_date_* fields to the task tree view
    
    TT50618
    juanjosesegui-tecnativa authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    c607eaa 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: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/
    weblate authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    0ad95dc View commit details
    Browse the repository at this point in the history
  26. Translated using Weblate (Spanish)

    Currently translated at 85.7% (6 of 7 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/es/
    victoralmau authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    1fca1aa View commit details
    Browse the repository at this point in the history
  27. Translated using Weblate (Italian)

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/it/
    mymage authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    d5cc533 View commit details
    Browse the repository at this point in the history
  28. Translated using Weblate (Spanish (Argentina))

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: project-16.0/project-16.0-project_timeline
    Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_timeline/es_AR/
    ibuioli authored and carlos-lopez-tecnativa committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    28ef6f7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    bd9b3a5 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9946227 View commit details
    Browse the repository at this point in the history