Files
Odoo-Modules/fusion_plating/fusion_plating_portal
gsinghpal d17cadabf0 feat(portal): sidebar shell template + portal.portal_layout inherit
fp_portal_shell wraps every /my/* page (FP custom + Odoo default)
in a sticky-sidebar shell with no per-template edits. Sidebar markup
is a separate fp_portal_sidebar template that reads fp_sidebar_items
+ fp_partner_display_name from the page context.

Approach D ($0 re-emit) used instead of plan's unbalanced-xpath approach:
position="replace" on //div[@id='wrap'] with $0 inside <main> causes
Odoo's Python inheritance engine to re-emit the original #wrap node
(verified in tools/template_inheritance.py lines 162-169). Every
xpath block is well-formed XML.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 13:39:17 -04:00
..
2026-04-16 20:53:53 -04:00
2026-04-16 20:53:53 -04:00
2026-04-16 20:53:53 -04:00
2026-04-16 20:53:53 -04:00

Fusion Plating — Customer Portal

Part of the Fusion Plating product family by Nexa Systems Inc.

Customer-facing portal that extends fusion_plating with a self-service area inside Odoo's standard portal layout. Customers can:

  • Submit Requests for Quote (RFQ) with drawings, target dates, and notes
  • Track production jobs through Received → In Progress → QC → Ready → Shipped → Complete
  • Download Certificates of Conformance (CoC) and packing lists
  • Reference shipment tracking numbers and invoice references

Models

Model Purpose
fusion.plating.quote.request Customer-submitted RFQ
fusion.plating.portal.job Lightweight portal-facing job summary
res.partner (extended) Adds portal-enabled flag and counts

Routes

Route Purpose
/my/quote_requests List quote requests
/my/quote_requests/<id> RFQ detail
/my/quote_requests/new New RFQ form
/my/quote_requests/submit RFQ form submission
/my/jobs List jobs
/my/jobs/<id> Job detail
/my/jobs/<id>/coc Download CoC PDF

Conventions

  • New res.partner fields prefixed x_fc_*.
  • All portal pages extend portal.portal_layout.
  • SCSS theme-aware: uses Bootstrap CSS variables only, no hex values.
  • Routes are type='http' (not the deprecated type='json').

License

OPL-1 (Odoo Proprietary License v1.0). Copyright 2026 Nexa Systems Inc.