Gap 1 — Rack Travel Ticket PDF (Sub 12b's Save+Print 404):
+ report_fp_rack_travel.xml in fusion_plating_reports — A5 landscape
single page, big rack name, Code 128 of FP-RACK:<name>, tag chips,
contained part-batches table.
+ ir.actions.report bound to fusion.plating.rack so it appears in
the rack form's Print menu too.
+ Sub 12b's rack_parts_dialog.js Save+Print URL fixed to use the
standard /report/pdf/<xmlid>/<id> route.
Gap 2 — Per-customer cert statement:
+ res.company.x_fc_default_cert_statement (company-level fallback).
+ res.partner.x_fc_cert_statement (per-customer override).
+ Surfaced on the partner form under the existing Cert + Document
Routing block.
+ Chronological CoC body resolves: customer override → company
default → hardcoded AS9100/ISO 9001 boilerplate. Three-tier
fallback so existing certs without overrides keep working.
Gap 3 — Chronological CoC 'Actual' column:
+ Build a captured_values_by_input dict from the move's
transition_input_value_ids (Sub 12b captures these on every
Move Parts commit).
+ Render typed Actual: text → as-is, number → with target unit,
boolean → PASS/FAIL, date → formatted, attachment → '[Attachment]'
placeholder.
+ Falls back to prompts from the destination step's step_input list
when no values were captured (still useful as audit-of-what-was-
asked even if blank).
Version bumps:
fusion_plating → 19.0.10.3.0
fusion_plating_reports → 19.0.10.1.0
fusion_plating_certificates → 19.0.5.3.0
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
100 lines
4.8 KiB
XML
100 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
Part of the Fusion Plating product family.
|
|
-->
|
|
<odoo>
|
|
|
|
<record id="view_partner_form_fp_document_prefs" model="ir.ui.view">
|
|
<field name="name">res.partner.form.fp.document.prefs</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//notebook" position="inside">
|
|
<page string="Plating Documents"
|
|
name="fp_document_prefs"
|
|
invisible="is_company != True">
|
|
<group string="Documents to Send on Shipment"
|
|
name="fp_document_prefs_group">
|
|
<p class="text-muted" colspan="2">
|
|
Control which quality documents are auto-generated and
|
|
emailed to this customer when a job ships. Matches the
|
|
customer's PO requirements so the shop doesn't have to
|
|
remember per-account preferences.
|
|
</p>
|
|
<group>
|
|
<field name="x_fc_send_coc" widget="boolean_toggle"/>
|
|
<field name="x_fc_send_thickness_report" widget="boolean_toggle"/>
|
|
</group>
|
|
<group>
|
|
<field name="x_fc_send_packing_slip" widget="boolean_toggle"/>
|
|
<field name="x_fc_send_bol" widget="boolean_toggle"/>
|
|
</group>
|
|
</group>
|
|
<separator string="Cert Statement Override (Sub 12c+)"/>
|
|
<p class="text-muted">
|
|
Boilerplate text printed in the "Certification Statement"
|
|
block on this customer's CoC. Leave blank to use the
|
|
company default, then a hardcoded AS9100/ISO 9001
|
|
statement.
|
|
</p>
|
|
<group>
|
|
<field name="x_fc_cert_statement" nolabel="1"
|
|
placeholder="e.g. We certify these parts conform to MIL-DTL-5541F Class 1A and have been processed in accordance with…"/>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Sub 6 — Per-contact routing flags on the contact's own form
|
|
(opens when editing a child contact row). Applied to every
|
|
res.partner form so delivery-location partners and their child
|
|
contacts both surface the same flags. -->
|
|
<record id="view_partner_form_fp_contact_routing_flags"
|
|
model="ir.ui.view">
|
|
<field name="name">res.partner.form.fp.contact.routing.flags</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="priority">30</field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//notebook" position="inside">
|
|
<page string="Communication Routing"
|
|
name="fp_contact_routing"
|
|
invisible="is_company == True">
|
|
<p class="text-muted">
|
|
Tick the streams this contact should receive. Leave all
|
|
blank to let the customer's company-level email handle
|
|
everything (default behaviour). Set
|
|
<b>Global Contact</b> for a primary account-manager
|
|
contact who wants visibility into every outbound stream.
|
|
</p>
|
|
<group>
|
|
<group>
|
|
<field name="x_fc_is_global_contact"
|
|
widget="boolean_toggle"/>
|
|
</group>
|
|
</group>
|
|
<group string="Per-stream subscriptions"
|
|
invisible="x_fc_is_global_contact">
|
|
<group>
|
|
<field name="x_fc_receives_certs"
|
|
widget="boolean_toggle"/>
|
|
<field name="x_fc_receives_qc"
|
|
widget="boolean_toggle"/>
|
|
</group>
|
|
<group>
|
|
<field name="x_fc_receives_quotes_so"
|
|
widget="boolean_toggle"/>
|
|
<field name="x_fc_receives_invoices"
|
|
widget="boolean_toggle"/>
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|