feat: separate fusion field service and LTC into standalone modules, update core modules
- fusion_claims: separated field service logic, updated controllers/views - fusion_tasks: updated task views and map integration - fusion_authorizer_portal: added page 11 signing, schedule booking, migrations - fusion_shipping: new standalone shipping module (Canada Post, FedEx, DHL, Purolator) - fusion_ltc_management: new standalone LTC management module
This commit is contained in:
@@ -341,6 +341,27 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- INVOICE LIST: Custom Columns -->
|
||||
<!-- ===================================================================== -->
|
||||
<record id="view_out_invoice_tree_fusion_claims" model="ir.ui.view">
|
||||
<field name="name">account.move.list.fusion.central</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_invoice_tree"/>
|
||||
<field name="priority">80</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='amount_untaxed_in_currency_signed']" position="before">
|
||||
<field name="x_fc_invoice_type" string="Invoice Type" optional="hide"/>
|
||||
<field name="x_fc_client_type" string="Client Type" optional="hide"/>
|
||||
<field name="x_fc_claim_number" string="Claim #" optional="hide"/>
|
||||
<field name="x_fc_client_ref_1" string="Client Ref 1" optional="hide"/>
|
||||
<field name="x_fc_client_ref_2" string="Client Ref 2" optional="hide"/>
|
||||
<field name="partner_shipping_id" string="Delivery Address" optional="hide"/>
|
||||
<field name="x_fc_adp_invoice_portion" string="Portion" optional="hide" widget="badge"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- INVOICE SEARCH: Filters -->
|
||||
<!-- ===================================================================== -->
|
||||
@@ -350,24 +371,59 @@
|
||||
<field name="inherit_id" ref="account.view_account_invoice_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search" position="inside">
|
||||
<!-- Search Fields -->
|
||||
<field name="partner_shipping_id" string="Delivery Address"/>
|
||||
<field name="x_fc_claim_number" string="Claim Number"/>
|
||||
<field name="x_fc_client_ref_1" string="Client Reference 1"/>
|
||||
<field name="x_fc_client_ref_2" string="Client Reference 2"/>
|
||||
<field name="x_fc_invoice_type" string="Invoice Type"/>
|
||||
<field name="x_fc_client_type" string="Client Type"/>
|
||||
<separator/>
|
||||
<filter string="ADP Invoices" name="adp_invoices"
|
||||
<!-- Sale Type Filters -->
|
||||
<filter string="ADP" name="type_adp"
|
||||
domain="[('x_fc_invoice_type', 'in', ['adp', 'adp_odsp'])]"/>
|
||||
<filter string="ADP Client" name="type_adp_client"
|
||||
domain="[('x_fc_invoice_type', '=', 'adp_client')]"/>
|
||||
<filter string="ODSP" name="type_odsp"
|
||||
domain="[('x_fc_invoice_type', 'in', ['odsp', 'adp_odsp'])]"/>
|
||||
<filter string="MOD" name="type_mod"
|
||||
domain="[('x_fc_invoice_type', '=', 'march_of_dimes')]"/>
|
||||
<filter string="WSIB" name="type_wsib"
|
||||
domain="[('x_fc_invoice_type', '=', 'wsib')]"/>
|
||||
<filter string="Insurance" name="type_insurance"
|
||||
domain="[('x_fc_invoice_type', '=', 'insurance')]"/>
|
||||
<filter string="Direct/Private" name="type_direct_private"
|
||||
domain="[('x_fc_invoice_type', '=', 'direct_private')]"/>
|
||||
<filter string="Hardship" name="type_hardship"
|
||||
domain="[('x_fc_invoice_type', '=', 'hardship')]"/>
|
||||
<filter string="Rentals" name="type_rental"
|
||||
domain="[('x_fc_invoice_type', '=', 'rental')]"/>
|
||||
<filter string="Muscular Dystrophy" name="type_muscular_dystrophy"
|
||||
domain="[('x_fc_invoice_type', '=', 'muscular_dystrophy')]"/>
|
||||
<filter string="Others" name="type_other"
|
||||
domain="[('x_fc_invoice_type', '=', 'other')]"/>
|
||||
<filter string="Regular" name="type_regular"
|
||||
domain="[('x_fc_invoice_type', '=', 'regular')]"/>
|
||||
<separator/>
|
||||
<!-- ADP Export Filters -->
|
||||
<filter string="ADP Exported" name="adp_exported"
|
||||
domain="[('adp_exported', '=', True)]"/>
|
||||
<filter string="Not ADP Exported" name="not_adp_exported"
|
||||
domain="[('adp_exported', '=', False), ('x_fc_invoice_type', 'in', ['adp', 'adp_odsp']), ('move_type', 'in', ['out_invoice', 'out_refund'])]"/>
|
||||
<separator/>
|
||||
<!-- Client Type Filters -->
|
||||
<filter string="REG Clients" name="reg_clients"
|
||||
domain="[('x_fc_client_type', '=', 'REG')]"/>
|
||||
<filter string="ODS/OWP/ACS" name="full_funding"
|
||||
domain="[('x_fc_client_type', 'in', ['ODS', 'OWP', 'ACS'])]"/>
|
||||
<separator/>
|
||||
<!-- Invoice Portion Filters -->
|
||||
<filter string="Client Invoices (25%)" name="client_invoices"
|
||||
domain="[('x_fc_adp_invoice_portion', '=', 'client')]"/>
|
||||
<filter string="ADP Invoices (75%)" name="adp_portion_invoices"
|
||||
domain="[('x_fc_adp_invoice_portion', '=', 'adp')]"/>
|
||||
<separator/>
|
||||
<!-- ADP Billing Status Filters -->
|
||||
<filter string="Billing: Waiting" name="billing_waiting"
|
||||
domain="[('x_fc_adp_billing_status', '=', 'waiting')]"/>
|
||||
<filter string="Billing: Submitted" name="billing_submitted"
|
||||
@@ -376,6 +432,16 @@
|
||||
domain="[('x_fc_adp_billing_status', '=', 'need_correction')]"/>
|
||||
<filter string="Billing: Payment Issued" name="billing_payment_issued"
|
||||
domain="[('x_fc_adp_billing_status', '=', 'payment_issued')]"/>
|
||||
<separator/>
|
||||
<!-- Group By -->
|
||||
<filter string="Invoice Type" name="group_invoice_type"
|
||||
context="{'group_by': 'x_fc_invoice_type'}"/>
|
||||
<filter string="Client Type" name="group_client_type"
|
||||
context="{'group_by': 'x_fc_client_type'}"/>
|
||||
<filter string="Invoice Portion" name="group_invoice_portion"
|
||||
context="{'group_by': 'x_fc_adp_invoice_portion'}"/>
|
||||
<filter string="Billing Status" name="group_billing_status"
|
||||
context="{'group_by': 'x_fc_adp_billing_status'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user