Example on how to create your own scenario.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds two example scenarios to the Shopfloor mobile app: browse countries and manage partners, including scanning a partner reference to open its detail card and jumping from a country to its partners.
This module is a demonstration of how the Shopfloor mobile app can be extended with custom scenarios. It does not change day-to-day Odoo screens; instead it adds two new mobile flows that appear in the Shopfloor app menus.
- "Browse countries": shows a list of countries, opens a detail card with the country code and phone code, and offers a button "View partners from this country" that jumps straight into the partner scenario pre-loaded with the partners of that country.
- "Manage partners": starts on a scan screen where the user scans a partner reference, or taps "Manual selection" to pick a partner from a list. The partner detail card shows the reference and email. A search bar is available to filter partners by name.
Behind the scenes the module exposes read-only services for res.country and res.partner, defines the data returned to the mobile app, and registers a scan handler so a scanned reference is matched against the partner reference field. A post-install step fills in the reference of any partner that has none, using the partner's ID, so scanning works out of the box. Demo data creates a "Partner manager" profile, the two scenarios and their menus, and an app entry using API key authentication.
Models and fields (13)
- shopfloor.app · extends an existing modelcategory
- shopfloor.data.action · extends an existing model
- custom.example.country · new model
- custom.example.partner · new model
- shopfloor.schema.action · extends an existing model
- shopfloor.search.action · extends an existing model
- shopfloor.data.detail.action · extends an existing model
- shopfloor.scan.partner.handler · new model
- shopfloor.schema.detail.action · extends an existing model
- shopfloor.country_example.validator · new model
- shopfloor.partner_example.validator · new model
- shopfloor.country_example.validator.response · new model
- shopfloor.partner_example.validator.response · new model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/wms.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.