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:
2026-03-11 16:19:52 +00:00
parent 1f79cdcaaf
commit 431052920e
274 changed files with 52782 additions and 7302 deletions

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_order_form_fusion_shipping" model="ir.ui.view">
<field name="name">sale.order.form.fusion.shipping</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
<button name="action_view_fusion_shipments" type="object"
class="oe_stat_button" icon="fa-plane"
invisible="fusion_shipment_count == 0">
<field name="fusion_shipment_count" widget="statinfo"
string="Shipments"/>
</button>
</xpath>
<!-- UPS Bill My Account fields -->
<xpath expr="//field[@name='partner_shipping_id']" position="after">
<field name="ups_bill_my_account" invisible="1"/>
<field name="partner_ups_carrier_account"
invisible="not ups_bill_my_account"/>
</xpath>
<!-- Show package details on the sale order -->
<xpath expr="//group[@name='note_group']" position="before">
<group string="Shipping Packages"
invisible="not fusion_package_ids"
colspan="6">
<field name="fusion_package_ids" nolabel="1"
colspan="6" readonly="1">
<list create="0" delete="0" no_open="1">
<field name="package_type_id" string="Box Type"
optional="show"/>
<field name="package_length" string="Length"/>
<field name="package_width" string="Width"/>
<field name="package_height" string="Height"/>
<field name="weight" string="Weight"/>
<field name="service_name" string="Service"/>
<field name="price" string="Cost"
widget="monetary"
options="{'currency_field': 'currency_id'}"/>
<field name="currency_id" column_invisible="1"/>
</list>
</field>
</group>
</xpath>
</field>
</record>
</odoo>