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] crm_timesheet: Migration to 17.0 #631

Open
wants to merge 27 commits into
base: 17.0
Choose a base branch
from

Commits on Jan 31, 2024

  1. [ADD] crm_timesheet

    Javier Iniesta authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    3806209 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51d8ed7 View commit details
    Browse the repository at this point in the history
  3. [IMP] crm_timesheet: Better layout

    pedrobaeza authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    da99a87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    466ea77 View commit details
    Browse the repository at this point in the history
  5. [FIX][crm_timesheet] Do not restrict project

    This addon assumed one will always fill the analytic account before the project, but current behavior does not let you choose a project outside current analytic account, which in practice means you can never change the project if `analytic_account_id` field is hidden (as it happens in other addons such as `project_issue_timesheet_time_control`).
    
    Now, if you choose a project it will fill the analytic account, and also the other way around, so why bother about the domains?
    yajo authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    8c91a5b View commit details
    Browse the repository at this point in the history
  6. [IMP] crm_timesheet: Use projects

    As now hr_timesheet bases all their functionality on projects,
    there's no sense to keep the old behavior linking crm.lead times
    to analytic account instead of projects, so I have changed this,
    making easier the associated logic (which, in the other hand, was
    not fully correct previously).
    pedrobaeza authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    ea5f237 View commit details
    Browse the repository at this point in the history
  7. [MIG] crm_timesheet: Migration to 11.0

    cubells authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    d67c17b View commit details
    Browse the repository at this point in the history
  8. [IMP] crm_timesheet: Improve views:

    * Limit timesheet field addition in view to authorized users
    * Use proper view in lead embedded timesheet page
    * Don't show lead field in embedded timesheet page
    pedrobaeza authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    18207f4 View commit details
    Browse the repository at this point in the history
  9. [12.0] crm_timesheet: Migration to 12.0

    Victor Martin authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    082a256 View commit details
    Browse the repository at this point in the history
  10. [IMP] crm_timesheet: ❤️ 4 UX

    Following the changes from OCA/project#586, here I implement the same UX when using it with CRM leads.
    yajo authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    da431c4 View commit details
    Browse the repository at this point in the history
  11. [IMP] crm_timesheet: Tell the user no running line was found

    Imagine this scenario:
    
    1. In tab 1 of the browser, you have opened lead 1.
    2. In tab 2 of the browser, you have opened lead 2.
    3. You go to tab 1 and start a timer.
    4. Work, work, work...
    5. You go to tab 2 and start a timer, stopping that of lead 1.
    6. Work, work, work...
    7. You go to tab 1 and see that timer as running (it is not, but you didn't refresh). You hit stop.
    
    Before this commit, it just seemed like the timer was actually stopped. What did happen behind the scenes is that your view was refreshed, but no timer was touched fortunately.
    
    After this commit, you get a message telling you that there's no timer to stop and that your browser is most likely out of sync. This mimics the behavior previously found when doing the same, but directly in the AAL. Now it's present in leads too.
    yajo authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    39d2143 View commit details
    Browse the repository at this point in the history
  12. [IMP] project_timesheet_time_control: Refactor with mixin

    Models related to timesheet time controls now inherit from a mixin that adds most needed logic automatically.
    
    This requires the changes introduced in OCA/project#596.
    yajo authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    44ac34a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d853115 View commit details
    Browse the repository at this point in the history
  14. [MIG] crm_timesheet: Migration to 13.0

    - README and manifest adapted
    - Views changed
    pedrobaeza authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    c35a28d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f670168 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    67d114f View commit details
    Browse the repository at this point in the history
  17. [MIG] crm_timesheet: Migration to 15.0

    Luis D. Lafaurie authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    0134422 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0468767 View commit details
    Browse the repository at this point in the history
  19. [UPD] Update crm_timesheet.pot

    oca-ci authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    857185d View commit details
    Browse the repository at this point in the history
  20. [BOT] post-merge updates

    OCA-git-bot authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    b580ebf View commit details
    Browse the repository at this point in the history
  21. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: timesheet-16.0/timesheet-16.0-crm_timesheet
    Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-crm_timesheet/
    weblate authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    a3c869a View commit details
    Browse the repository at this point in the history
  22. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: timesheet-16.0/timesheet-16.0-crm_timesheet
    Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-crm_timesheet/
    weblate authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    b1a7ef0 View commit details
    Browse the repository at this point in the history
  23. Translated using Weblate (Italian)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: timesheet-16.0/timesheet-16.0-crm_timesheet
    Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-crm_timesheet/it/
    mymage authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    c720c76 View commit details
    Browse the repository at this point in the history
  24. Translated using Weblate (Spanish)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: timesheet-16.0/timesheet-16.0-crm_timesheet
    Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-crm_timesheet/es/
    Ivorra78 authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    6c26bb2 View commit details
    Browse the repository at this point in the history
  25. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: timesheet-16.0/timesheet-16.0-crm_timesheet
    Translate-URL: https://translation.odoo-community.org/projects/timesheet-16-0/timesheet-16-0-crm_timesheet/pt_BR/
    adrianojprado authored and mde-spring committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    2702bf9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    2891e6c View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1a7124d View commit details
    Browse the repository at this point in the history