Field Service - Sale Stock Route

Beta License: AGPL-3 OCA/field-service Translate me on Weblate Try me on Runboat

This module integrates the fieldservice_sale_stock and fieldservice_route modules, enabling automatic generation of FSM order day routes from sales orders.

Requirements for Confirming a Sales Order

If a sales order contains a product that generates an FSM order, the following conditions must be met before confirmation:

Automatic Scheduling of FSM Orders

This module also introduces a “Postpone Delivery” button in the FSM order form view, allowing users to reschedule the order to the next available route day based on the FSM location’s schedule.

Table of contents

Usage

To use this module, you need to:

  1. Navigate to Sales > Orders.
  2. Create a new sales order.
  3. Add a product that generates an FSM order (Field Service Tracking set to “Create one FSM order per sale order” on the product form).
  4. Set the Customer and FSM Location.
  5. Make sure the FSM Location has a route set and this route has a person assigned and route days set.
  6. In the sale order, navigate to the ‘Other Info’ tab and set the ‘Delivery Date’ and ‘Delivery End Date’ fields. You can also leave them empty to have the system automatically assign the next available route day.
  7. Confirm the sale order.
  8. If the ‘Delivery Date’ and ‘Delivery End Date’ fields were empty, the system will automatically assign the next available route day based on the FSM location’s schedule. If they were set, the FSM order will be scheduled accordingly. In case the ‘Delivery Date’ falls on a day that is not part of the route, the system will show an error message.

If you navigate to the FSM order, you will see that the Schedule Details are based on the ‘Delivery Date’ and ‘Delivery End Date’ fields from the sale order.

Additionally, you will find a ‘Postpone Delivery’ button in the FSM order form view, allowing you to reschedule the order to the next available route day based on the FSM location’s schedule. You can also manually reschedule the order by changing the ‘Delivery Date’ and ‘Delivery End Date’ fields in the sale order.

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

  • APSL-Nagarro

Contributors

APSL-Nagarro:

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

ppyczko

This module is part of the OCA/field-service project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.