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"
|
||||
|
||||
@@ -90,15 +90,6 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- MAP VIEW (QWeb HTML with Google Maps) -->
|
||||
<!-- ================================================================== -->
|
||||
<record id="action_technician_location_map" model="ir.actions.act_url">
|
||||
<field name="name">Technician Map</field>
|
||||
<field name="url">/my/technician/admin/map</field>
|
||||
<field name="target">self</field>
|
||||
</record>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- MENU ITEMS (under Technician Management) -->
|
||||
<!-- ================================================================== -->
|
||||
@@ -106,13 +97,7 @@
|
||||
name="Location History"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_locations"
|
||||
sequence="40"/>
|
||||
|
||||
<menuitem id="menu_technician_map"
|
||||
name="Live Map"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_location_map"
|
||||
sequence="45"/>
|
||||
sequence="50"/>
|
||||
|
||||
<!-- CRON: Cleanup old location records (runs daily) -->
|
||||
<record id="ir_cron_cleanup_technician_locations" model="ir.cron">
|
||||
|
||||
@@ -194,10 +194,11 @@
|
||||
<field name="partner_phone" widget="phone"/>
|
||||
</group>
|
||||
<group string="Location">
|
||||
<field name="address_partner_id"/>
|
||||
<field name="address_street"/>
|
||||
<field name="address_street2" string="Unit/Suite #"/>
|
||||
<field name="address_buzz_code"/>
|
||||
<field name="is_in_store"/>
|
||||
<field name="address_partner_id" invisible="is_in_store"/>
|
||||
<field name="address_street" readonly="is_in_store"/>
|
||||
<field name="address_street2" string="Unit/Suite #" invisible="is_in_store"/>
|
||||
<field name="address_buzz_code" invisible="is_in_store"/>
|
||||
<field name="address_city" invisible="1"/>
|
||||
<field name="address_state_id" invisible="1"/>
|
||||
<field name="address_zip" invisible="1"/>
|
||||
@@ -505,35 +506,35 @@
|
||||
sequence="5"
|
||||
groups="fusion_claims.group_fusion_claims_user,fusion_claims.group_field_technician"/>
|
||||
|
||||
<menuitem id="menu_technician_tasks_today"
|
||||
name="Today's Tasks"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_tasks_today"
|
||||
sequence="10"/>
|
||||
|
||||
<menuitem id="menu_technician_schedule"
|
||||
name="Schedule"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_schedule"
|
||||
sequence="10"/>
|
||||
|
||||
<menuitem id="menu_technician_tasks"
|
||||
name="Tasks"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_tasks"
|
||||
sequence="20"/>
|
||||
sequence="15"/>
|
||||
|
||||
<menuitem id="menu_technician_tasks_pending"
|
||||
name="Pending Tasks"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_tasks_pending"
|
||||
sequence="13"/>
|
||||
sequence="20"/>
|
||||
|
||||
<menuitem id="menu_technician_tasks_today"
|
||||
name="Today's Tasks"
|
||||
<menuitem id="menu_technician_tasks"
|
||||
name="All Tasks"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_tasks_today"
|
||||
sequence="15"/>
|
||||
action="action_technician_tasks"
|
||||
sequence="30"/>
|
||||
|
||||
<menuitem id="menu_technician_my_tasks"
|
||||
name="My Tasks"
|
||||
parent="menu_technician_management"
|
||||
action="action_technician_my_tasks"
|
||||
sequence="25"
|
||||
sequence="35"
|
||||
groups="fusion_claims.group_field_technician"/>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user