This commit is contained in:
gsinghpal
2026-03-09 15:21:22 -04:00
parent a3e85a23ef
commit acd3fc455e
243 changed files with 20459 additions and 4197 deletions

View File

@@ -1088,6 +1088,13 @@
invisible="x_fc_technician_task_count == 0">
<field name="x_fc_technician_task_count" widget="statinfo" string="Tasks"/>
</button>
<!-- Page 11 Signing Requests -->
<button name="action_view_page11_requests" type="object"
class="oe_stat_button" icon="fa-pencil-square-o"
invisible="page11_sign_request_count == 0">
<field name="page11_sign_request_count" widget="statinfo" string="Page 11 Requests"/>
</button>
</xpath>
</field>
</record>
@@ -1201,6 +1208,18 @@
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('quotation', 'assessment_scheduled')"
help="Mark assessment as completed (override available from Quotation stage)"/>
<!-- Request Page 11 Remote Signature (before Application Received) -->
<button name="action_request_page11_signature" type="object"
string="Request Page 11 Signature" class="btn-warning"
icon="fa-pencil-square-o"
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('assessment_completed', 'waiting_for_application', 'application_received') or x_fc_signed_pages_11_12"
help="Send Page 11 to a family member or agent for remote digital signing"/>
<button name="action_request_page11_signature" type="object"
string="Re-sign Page 11" class="btn-secondary"
icon="fa-repeat"
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('assessment_completed', 'waiting_for_application', 'application_received') or not x_fc_signed_pages_11_12"
help="Page 11 already signed. Click to request a new signature."/>
<!-- Waiting for Application -> Application Received -->
<button name="action_application_received" type="object"
string="Application Received" class="btn-info"
@@ -1274,12 +1293,19 @@
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('submitted', 'resubmitted', 'needs_correction', 'accepted', 'approved', 'approved_deduction', 'ready_delivery', 'ready_bill')"
help="Put this application on hold"/>
<button name="%(fusion_claims.action_set_status_withdrawn)d"
<button name="%(fusion_claims.action_set_status_withdrawn)d"
type="action" string="Withdraw" class="btn-secondary"
icon="fa-undo"
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('submitted', 'resubmitted', 'needs_correction', 'accepted', 'approved', 'approved_deduction', 'ready_bill')"
help="Withdraw this application"/>
<button name="action_resubmit_from_withdrawn" type="object"
string="Resubmit Application" class="btn-primary"
icon="fa-repeat"
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status != 'withdrawn'"
confirm="This will return the application to Ready for Submission status. Continue?"
help="Return this withdrawn application to Ready for Submission"/>
<!-- ============================================================ -->
<!-- REVIEW BUTTONS (color changes based on verified/approved) -->
<!-- ============================================================ -->
@@ -1493,10 +1519,16 @@
icon="fa-pause"
invisible="x_fc_adp_application_status in ('on_hold', 'denied', 'withdrawn', 'cancelled', 'case_closed')"/>
<button name="action_resume_from_hold" type="object"
string="Resume"
string="Resume"
class="btn-success btn-sm me-1"
icon="fa-play"
invisible="x_fc_adp_application_status != 'on_hold'"/>
<button name="action_resubmit_from_withdrawn" type="object"
string="Resubmit Application"
class="btn-primary btn-sm me-1"
icon="fa-repeat"
invisible="x_fc_adp_application_status != 'withdrawn'"
confirm="This will return the application to Ready for Submission status. Continue?"/>
<button name="%(fusion_claims.action_set_status_withdrawn)d"
type="action" string="Withdraw"
class="btn-secondary btn-sm me-1"
@@ -1815,8 +1847,14 @@
widget="binary" nolabel="1" class="fc-tile-upload-field"
required="x_fc_is_adp_sale and x_fc_adp_application_status not in ('quotation', 'assessment_scheduled', 'assessment_completed', 'waiting_for_application', 'application_received')"
readonly="x_fc_case_locked"/>
<button name="action_request_page11_signature" type="object"
class="btn btn-sm btn-outline-primary mt-1"
string="Request Signature"
title="Send Page 11 to a family member or agent for remote signing"
invisible="x_fc_signed_pages_11_12 or not x_fc_is_adp_sale"/>
</div>
</div>
<field name="page11_sign_status" invisible="1"/>
</div>
</div>
</div>
@@ -2105,22 +2143,6 @@
</div>
</div>
<!-- SYNC TO INVOICES - Shows when there are invoices to sync -->
<div class="alert alert-secondary mb-3" role="alert"
invisible="not x_fc_has_adp_invoice and not x_fc_has_client_invoice">
<div class="d-flex align-items-center justify-content-between">
<div>
<strong><i class="fa fa-refresh"/> Sync ADP Fields</strong>
<p class="mb-0 small text-muted">
Push claim number, client references, dates, and serial numbers from this order to linked invoices.
</p>
</div>
<button name="action_sync_adp_fields" type="object"
string="Sync to Invoices" class="btn btn-secondary btn-sm ms-3"
icon="fa-refresh"/>
</div>
</div>
<!-- DEDUCTION ALERT - Only show when there are deductions -->
<field name="x_fc_has_deductions" invisible="1"/>
<field name="x_fc_total_deduction_amount" invisible="1"/>