Chain-of-custody log: one row per Move Parts / Move Rack commit. FP/MOVE/YYYY/NNNN sequence (5-digit). Carries from/to step + tank, transfer type, qty, location, photo, rack, operator, datetime. Child model captures recorded transition-input values (Sub 12a's fp.step.template.transition.input snapshots → fp.job.step.move. input.value rows). Each row carries 5 typed value columns; the controller (Task 8) picks the right one based on input_type. Operators get read+write+create — they generate moves at runtime — but no unlink. Manager-only deletes for audit safety. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
35 lines
1.2 KiB
XML
35 lines
1.2 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 noupdate="1">
|
|
|
|
<record id="seq_fp_bath" model="ir.sequence">
|
|
<field name="name">Fusion Plating: Bath</field>
|
|
<field name="code">fusion.plating.bath</field>
|
|
<field name="prefix">BATH/%(year)s/</field>
|
|
<field name="padding">5</field>
|
|
<field name="company_id" eval="False"/>
|
|
</record>
|
|
|
|
<record id="seq_fp_bath_log" model="ir.sequence">
|
|
<field name="name">Fusion Plating: Bath Log</field>
|
|
<field name="code">fusion.plating.bath.log</field>
|
|
<field name="prefix">BLOG/%(year)s%(month)s/</field>
|
|
<field name="padding">6</field>
|
|
<field name="company_id" eval="False"/>
|
|
</record>
|
|
|
|
<!-- Sub 12b — Move Parts / Move Rack chain-of-custody log -->
|
|
<record id="seq_fp_job_step_move" model="ir.sequence">
|
|
<field name="name">FP — Move Log</field>
|
|
<field name="code">fp.job.step.move</field>
|
|
<field name="prefix">FP/MOVE/%(year)s/</field>
|
|
<field name="padding">5</field>
|
|
<field name="company_id" eval="False"/>
|
|
</record>
|
|
|
|
</odoo>
|