feat(claims): audit trail honours bundled pages flag
x_fc_trail_has_signed_pages now reads x_fc_has_signed_pages_11_12, so the trail correctly shows complete when pages 11 & 12 are bundled inside the original application. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3265,7 +3265,7 @@ class SaleOrder(models.Model):
|
||||
@api.depends(
|
||||
'x_fc_assessment_start_date', 'x_fc_assessment_end_date',
|
||||
'x_fc_claim_authorization_date', 'x_fc_original_application',
|
||||
'x_fc_signed_pages_11_12', 'x_fc_final_submitted_application',
|
||||
'x_fc_has_signed_pages_11_12', 'x_fc_final_submitted_application',
|
||||
'x_fc_xml_file', 'x_fc_approval_letter', 'x_fc_proof_of_delivery',
|
||||
'x_fc_vendor_bill_ids', 'invoice_ids', 'invoice_ids.state'
|
||||
)
|
||||
@@ -3276,7 +3276,7 @@ class SaleOrder(models.Model):
|
||||
)
|
||||
order.x_fc_trail_has_authorization = bool(order.x_fc_claim_authorization_date)
|
||||
order.x_fc_trail_has_original_app = bool(order.x_fc_original_application)
|
||||
order.x_fc_trail_has_signed_pages = bool(order.x_fc_signed_pages_11_12)
|
||||
order.x_fc_trail_has_signed_pages = order.x_fc_has_signed_pages_11_12
|
||||
order.x_fc_trail_has_final_app = bool(order.x_fc_final_submitted_application)
|
||||
order.x_fc_trail_has_xml = bool(order.x_fc_xml_file)
|
||||
order.x_fc_trail_has_approval_letter = bool(order.x_fc_approval_letter)
|
||||
|
||||
Reference in New Issue
Block a user