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] fieldservice_recurring: Forward ports from 14 #1136

Merged
merged 13 commits into from
Dec 13, 2023

Commits on Nov 13, 2023

  1. [FIX] fieldservice_recurring: Use timezone aware rrule and normalize …

    …recurring dates to avoid hour jumps during daylight saving time changes
    paradoxxxzero authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    a5b13cc View commit details
    Browse the repository at this point in the history
  2. Orders are created from a frequency

    It should not be allowed to select orders to be added to recurring
    hparfr authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    ae495af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85e9e74 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc2be49 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    871ef74 View commit details
    Browse the repository at this point in the history
  6. [FIX] fieldservice_recurring: Default company

    Use current company as default instead of user company.
    paradoxxxzero authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    c644510 View commit details
    Browse the repository at this point in the history
  7. [IMP] fieldservice_recurring: Use location_id tz

    Use location_id timezone prioritarily if set when generating fsm orders for a location
    paradoxxxzero authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    a5bc8c3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8f8929c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7e5f678 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7578021 View commit details
    Browse the repository at this point in the history
  11. fieldservice_recurring: fix default team

    support multicompany
    hparfr authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    6ce97b7 View commit details
    Browse the repository at this point in the history
  12. fieldservice_recurring: refactore stages

    Stages are now:
    draft: not started yet
    progress: orders are and will continue to be generated
    suspend: it can continue to generate orders but it has been put on pause
    for some reason
    close: no new orders will / can be generated
    
    ```dot
    
    digraph {
    draft -> progress -> suspend -> close
    suspend -> progress
    }
    ```
    
    Why this change ?
    
    - it was impossible to go back to progress after cancel
    - pending / renew is too opinated to be in a base module,
    - renew duration was hardcoded
    
    (btw renew can be implemented by a renew_date instead of a stage
    in a dedicated module)
    hparfr authored and brian10048 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    8f35e31 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f924891 View commit details
    Browse the repository at this point in the history