Skip to content

[18.0][ADD] fieldservice_equipment_portal_order_history: service orders on the equipment portal page - #1601

Open
marcos-mendez wants to merge 6 commits into
OCA:18.0from
marcos-mendez:18.0-add-fieldservice_equipment_portal_order_history
Open

[18.0][ADD] fieldservice_equipment_portal_order_history: service orders on the equipment portal page#1601
marcos-mendez wants to merge 6 commits into
OCA:18.0from
marcos-mendez:18.0-add-fieldservice_equipment_portal_order_history

Conversation

@marcos-mendez

Copy link
Copy Markdown
Contributor

Optional extension of fieldservice_equipment_portal: the equipment portal page gains a Service Orders section listing the service orders linked to the equipment (latest first, capped at 50).

Split out of #1596 following review-size feedback: the base module keeps only the page and access control; each extra section is an opt-in module.

Stacked on #1596 — the first commits here belong to that PR; review only the last commit (fieldservice_equipment_portal_order_history). Merge #1596 first, then this becomes a one-commit PR after rebase.

Tests: 2 HttpCase tests, 100% branch coverage.

Marcos added 4 commits August 5, 2026 19:05
Portal users can see the equipments owned or managed by their commercial
partner: counter card on /my, paginated list at /my/equipments and a
token-shareable detail page — a stable URL suited as QR code target on
physical labels.
…ents

60x40mm label report with company logo, serial number and a QR code
pointing to the equipment's portal page. QR is computed on the fly from
portal.mixin's access_url, so labels survive base URL changes.
- New setting "Public Equipment Pages" (ir.config_parameter
  fieldservice_equipment_portal.public_access, default off): equipment
  pages become readable without login, for QR code labels printed
  without an access token.
- Fix template crash when fieldservice_equipment_stock is not
  installed (fsm.equipment has no product_id field there).
@OCA-git-bot OCA-git-bot added series:18.0 mod:fieldservice_equipment_portal_qrcode Module fieldservice_equipment_portal_qrcode mod:fieldservice_equipment_portal Module fieldservice_equipment_portal mod:fieldservice_equipment_portal_order_history Module fieldservice_equipment_portal_order_history labels Aug 6, 2026
Marcos added 2 commits August 6, 2026 04:09
…ial number

New public route /my/equipments/serial/<serial> redirects to the
equipment portal page, so printed QR labels stay valid even if the
equipment id changes. Access control happens on the target page.
…the equipment portal page

Optional module: the equipment portal page gains a Service Orders
section listing the service orders linked to the equipment (latest
first, capped at 50).
@marcos-mendez
marcos-mendez force-pushed the 18.0-add-fieldservice_equipment_portal_order_history branch from 148546a to 5a4d8fa Compare August 6, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:fieldservice_equipment_portal_order_history Module fieldservice_equipment_portal_order_history mod:fieldservice_equipment_portal_qrcode Module fieldservice_equipment_portal_qrcode mod:fieldservice_equipment_portal Module fieldservice_equipment_portal series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants