Skip to main content

Field Service Mobile Backend Support.

Project description

Beta License: AGPL-3 ursais/osi-addons

This module provides backend support for the Field Service mobile application. It manages mobile-specific stage visibility, stage duration tracking, portal configuration, dynamic feature mapping by security group, and payment link generation for field service orders linked to sales orders.

It also exposes HTTP endpoints used by the offline-capable mobile client:

  • POST /fsm/sync — apply order updates, clock punches (fsm.stage.history) and signature in a single atomic transaction

  • POST /fsm/photo — multipart upload that creates ir.attachment without base64 RPC

  • POST /fsm/pull — delta pull of orders assigned to the current technician (person_id / person_ids), filtered by write_date

Table of contents

Configuration

To configure mobile stages:

  • Go to Field Service > Configuration > Stages.

  • Enable Display in Mobile for stages that should appear in the mobile app.

  • Enable Display in Odoo for stages that should appear on FSM orders in Odoo.

  • Assign a server action on stages that require automated updates.

To configure automated actions tied to stage sequences, adjust the domain on each automation under Settings > Technical > Automation > Automated Actions.

To configure mobile features:

  • Go to Field Service > Configuration > FSM Mobile Features.

  • Select installed modules for the dynamic mobile menu.

  • Activate a feature mapping record and assign security groups per feature line.

Usage

  1. Open the Field Service application.

  2. Under Configuration, open FSM Mobile Features.

  3. Select installed modules and feature lines for the mobile menu.

  4. Assign security groups to control which features each user can access.

  5. Activate the desired feature mapping record.

Portal users can access allowed features and attachments according to the configured security rules and settings for stock move visibility and updates.

Mobile sync API

Authenticated mobile sessions (portal or internal workers linked to an fsm.person via partner_id) can call:

Batch sync — POST /fsm/sync (type=jsonrpc)

{
  "jsonrpc": "2.0",
  "method": "call",
  "params": {
    "order_id": 12,
    "order": {"stage_id": 5, "resolution": "Done"},
    "clocks": [
      {
        "stage_id": 6,
        "start_datetime": "2026-07-24 15:00:00",
        "duration": 0.5,
        "total_duration": 1.0
      }
    ],
    "signature": {
      "signed_by": "Jane Doe",
      "signature": "<base64 png>"
    }
  }
}

Use "mutations": [ {...}, {...} ] to push several orders in the same request / transaction.

Photo upload — POST /fsm/photo (multipart/form-data)

Fields: order_id, optional name, and a file field named ufile, file, photo or attachment.

Delta pull — POST /fsm/pull (type=jsonrpc)

{
  "params": {
    "since": "2026-07-24 00:00:00",
    "limit": 80,
    "offset": 0
  }
}

Returns only orders where the current user’s fsm.person is person_id or in person_ids, optionally filtered with write_date > since.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Open Source Integrators

Contributors

Other credits

The development of this module was originally supported by Open Source Integrators.

Maintainers

Current maintainers:

wolfhall max3903

This module is part of the ursais/osi-addons project on GitHub.

You are welcome to contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo_addon_fieldservice_mobile-19.0.1.1.0.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_fieldservice_mobile-19.0.1.1.0.tar.gz.

File metadata

File hashes

Hashes for odoo_addon_fieldservice_mobile-19.0.1.1.0.tar.gz
Algorithm Hash digest
SHA256 7b2c752a20ed074f3901b672af632ed3f4b0ea506beac7e8938659eb8f2fc053
MD5 f93249823a5a5cbe31501e8f9cd3338f
BLAKE2b-256 749e2cc50c56ddd4c6a81a3bcb6f6abadedffeb48cedd5ec1c74de59c93bcebc

See more details on using hashes here.

File details

Details for the file odoo_addon_fieldservice_mobile-19.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_fieldservice_mobile-19.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b3a4d1c28c89dcfe5f2cfb6378248de8848c3354353f2f037e8b8fd6e73e77
MD5 9536c2154fb01850db84a1d66839cdc4
BLAKE2b-256 4d80dc8875aea5742e2068c026d9b4d651748f62c21605ed24a2d0492c0013ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page