folder rename
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<?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>
|
||||
|
||||
<!--
|
||||
Extend the quality module's FAIR form to add e-signature controls.
|
||||
Inherits `fusion_plating_quality.view_fp_fair_form`.
|
||||
-->
|
||||
<record id="view_fp_fair_form_bridge_sign" model="ir.ui.view">
|
||||
<field name="name">fp.fair.form.bridge.sign</field>
|
||||
<field name="model">fusion.plating.fair</field>
|
||||
<field name="inherit_id" ref="fusion_plating_quality.view_fp_fair_form"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<!-- Header buttons -->
|
||||
<xpath expr="//header" position="inside">
|
||||
<button name="action_send_for_signature"
|
||||
string="Send for Customer Signature"
|
||||
type="object"
|
||||
class="btn-primary"
|
||||
invisible="state != 'approved' or x_fc_sign_request_id"/>
|
||||
<button name="action_view_sign_request"
|
||||
string="View Sign Request"
|
||||
type="object"
|
||||
invisible="not x_fc_sign_request_id"/>
|
||||
<button name="action_view_signed_document"
|
||||
string="Download Signed PDF"
|
||||
type="object"
|
||||
class="btn-success"
|
||||
invisible="not x_fc_signed_pdf_id"/>
|
||||
</xpath>
|
||||
|
||||
<!-- E-Signature notebook page -->
|
||||
<xpath expr="//sheet//notebook" position="inside">
|
||||
<page string="E-Signature" name="esignature"
|
||||
invisible="not x_fc_sign_request_id and not x_fc_signed_pdf_id">
|
||||
<group>
|
||||
<group string="Request">
|
||||
<field name="x_fc_sign_request_id" readonly="1"/>
|
||||
<field name="x_fc_sign_request_state" readonly="1"
|
||||
widget="badge"
|
||||
class="o_fp_signed_badge"/>
|
||||
</group>
|
||||
<group string="Completion">
|
||||
<field name="x_fc_signed_date" readonly="1"/>
|
||||
<field name="x_fc_signed_by" readonly="1"/>
|
||||
<field name="x_fc_signed_pdf_id" readonly="1"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user