feat(claims): ready-for-submission gate accepts bundled pages flag
Both the has_documents indicator and the action_confirm missing-items gate now read x_fc_has_signed_pages_11_12, so orders with pages 11 & 12 bundled inside the original PDF can move to Ready for Submission without a separate signed-pages file. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,7 @@ class ReadyForSubmissionWizard(models.TransientModel):
|
||||
wizard.has_authorization_date = bool(order.x_fc_claim_authorization_date)
|
||||
wizard.has_client_refs = bool(order.x_fc_client_ref_1 and order.x_fc_client_ref_2)
|
||||
wizard.has_reason = bool(order.x_fc_reason_for_application)
|
||||
wizard.has_documents = bool(order.x_fc_original_application and order.x_fc_signed_pages_11_12)
|
||||
wizard.has_documents = bool(order.x_fc_original_application and order.x_fc_has_signed_pages_11_12)
|
||||
|
||||
@api.model
|
||||
def default_get(self, fields_list):
|
||||
@@ -145,7 +145,7 @@ class ReadyForSubmissionWizard(models.TransientModel):
|
||||
# Check documents
|
||||
if not order.x_fc_original_application:
|
||||
missing.append('Original ADP Application (upload in Application Received step)')
|
||||
if not order.x_fc_signed_pages_11_12:
|
||||
if not order.x_fc_has_signed_pages_11_12:
|
||||
missing.append('Page 11 & 12 Signed (upload in Application Received step)')
|
||||
|
||||
if missing:
|
||||
|
||||
Reference in New Issue
Block a user