changes
This commit is contained in:
@@ -41,15 +41,26 @@
|
||||
<field name="x_fc_client_type" string="Client Type"
|
||||
invisible="x_fc_sale_type not in ('adp', 'adp_odsp')"/>
|
||||
|
||||
<!-- Delivery Status -->
|
||||
<field name="x_fc_show_delivery_datetime" invisible="1"/>
|
||||
<field name="x_fc_delivery_status" string="Delivery Status"/>
|
||||
<field name="x_fc_delivery_datetime" string="Delivery Date/Time"
|
||||
invisible="not x_fc_show_delivery_datetime"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- SALE ORDER FORM: Move Salesperson to header (after Quotation Template) -->
|
||||
<!-- ===================================================================== -->
|
||||
<record id="view_order_form_fusion_claims_salesperson" model="ir.ui.view">
|
||||
<field name="name">sale.order.form.fusion.central.salesperson</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="priority">51</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="sale_order_template_id" position="after">
|
||||
<field name="user_id" widget="many2one_avatar_user"/>
|
||||
</field>
|
||||
<xpath expr="//page[@name='other_information']//field[@name='user_id']" position="replace"/>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- SALE ORDER FORM: March of Dimes Case Details -->
|
||||
<!-- ===================================================================== -->
|
||||
@@ -1183,12 +1194,12 @@
|
||||
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status != 'quotation'"
|
||||
help="Move to Assessment Scheduled status"/>
|
||||
|
||||
<!-- Assessment Scheduled -> Complete Assessment -->
|
||||
<!-- Assessment Scheduled (or Quotation override) -> Complete Assessment -->
|
||||
<button name="action_complete_assessment" type="object"
|
||||
string="Complete Assessment" class="btn-info"
|
||||
icon="fa-check-square-o"
|
||||
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status != 'assessment_scheduled'"
|
||||
help="Mark assessment as completed"/>
|
||||
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)"/>
|
||||
|
||||
<!-- Waiting for Application -> Application Received -->
|
||||
<button name="action_application_received" type="object"
|
||||
@@ -1260,13 +1271,13 @@
|
||||
<button name="%(fusion_claims.action_set_status_on_hold)d"
|
||||
type="action" string="Put On Hold" class="btn-warning"
|
||||
icon="fa-pause"
|
||||
invisible="not x_fc_is_adp_sale or x_fc_adp_application_status not in ('approved', 'approved_deduction', 'ready_delivery', 'ready_bill')"
|
||||
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"
|
||||
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 ('approved', 'approved_deduction', 'ready_bill')"
|
||||
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"/>
|
||||
|
||||
<!-- ============================================================ -->
|
||||
@@ -1277,14 +1288,14 @@
|
||||
<button name="action_open_submission_verification_wizard" type="object"
|
||||
string="Review Submission" class="fc-btn-status-good"
|
||||
icon="fa-check-circle"
|
||||
invisible="not x_fc_is_adp_sale or not x_fc_submission_verified or x_fc_adp_application_status in ('quotation', 'assessment_scheduled', 'assessment_completed', 'waiting_for_application', 'application_received', 'ready_submission', 'approved', 'approved_deduction', 'ready_bill', 'billed', 'case_closed', 'denied', 'withdrawn', 'cancelled', 'expired')"
|
||||
invisible="not x_fc_is_adp_sale or not x_fc_submission_verified or x_fc_adp_application_status in ('quotation', 'assessment_scheduled', 'assessment_completed', 'waiting_for_application', 'application_received', 'ready_submission', 'needs_correction', 'approved', 'approved_deduction', 'ready_delivery', 'ready_bill', 'billed', 'case_closed', 'on_hold', 'denied', 'withdrawn', 'cancelled', 'expired')"
|
||||
help="Submission verified - click to review"/>
|
||||
|
||||
<!-- Review Submission: LIGHT RED when not yet verified -->
|
||||
<button name="action_open_submission_verification_wizard" type="object"
|
||||
string="Review Submission" class="fc-btn-status-bad"
|
||||
icon="fa-exclamation-triangle"
|
||||
invisible="not x_fc_is_adp_sale or x_fc_submission_verified or x_fc_adp_application_status in ('quotation', 'assessment_scheduled', 'assessment_completed', 'waiting_for_application', 'application_received', 'ready_submission', 'approved', 'approved_deduction', 'ready_bill', 'billed', 'case_closed', 'denied', 'withdrawn', 'cancelled', 'expired')"
|
||||
invisible="not x_fc_is_adp_sale or x_fc_submission_verified or x_fc_adp_application_status in ('quotation', 'assessment_scheduled', 'assessment_completed', 'waiting_for_application', 'application_received', 'ready_submission', 'needs_correction', 'approved', 'approved_deduction', 'ready_delivery', 'ready_bill', 'billed', 'case_closed', 'on_hold', 'denied', 'withdrawn', 'cancelled', 'expired')"
|
||||
help="Submission not yet verified - click to review"/>
|
||||
|
||||
<!-- Review Approval: GREEN when all devices approved -->
|
||||
@@ -1549,7 +1560,7 @@
|
||||
<!-- Application Details - Show after Ready for Submission stage -->
|
||||
<group string="Application Details" invisible="not x_fc_stage_after_ready_submission">
|
||||
<group>
|
||||
<field name="x_fc_client_ref_1" placeholder="e.g., DOJO"
|
||||
<field name="x_fc_client_ref_1" placeholder="e.g., JODO"
|
||||
required="x_fc_stage_after_ready_submission"
|
||||
readonly="x_fc_case_locked"/>
|
||||
<field name="x_fc_client_ref_2" placeholder="e.g., 1234"
|
||||
|
||||
Reference in New Issue
Block a user