[18.0][ADD] fieldservice_equipment_calibration_portal: calibration certificates on the equipment portal page - #1602
Open
marcos-mendez wants to merge 7 commits into
Conversation
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).
added 3 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.
…r equipments Track calibration certificates (validity dates, attached file, chatter) per field service equipment, with a Calibration tab on the equipment form and a Master Data menu entry. Extracted from a production clinical-engineering vertical running on Odoo 18. Original code by Rafnix Guzman.
…ates on the equipment portal page Optional glue between fieldservice_equipment_portal and fieldservice_equipment_calibration: the equipment portal page gains a Calibration Certificates section with download links. Downloads honor the same access rules as the page (portal user, access token or the Public Equipment Pages setting).
marcos-mendez
force-pushed
the
18.0-add-fieldservice_equipment_calibration_portal
branch
from
August 6, 2026 07:09
5411723 to
7a92890
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optional glue between
fieldservice_equipment_portalandfieldservice_equipment_calibration: the equipment portal page gains a Calibration Certificates section with download links (/my/equipments/calibration/<id>/download). Downloads honor the same access rules as the page (portal user, access token or the Public Equipment Pages setting).Stacked on #1595 and #1596 — review only the last commit; the earlier ones belong to those PRs and this rebases to a one-commit PR once they merge.
Tests: 4 HttpCase tests, 100% branch coverage.