Files
Odoo-Modules/fusion_claims/__init__.py
Nexa Agent 35399170b3 fix: ADP portal payment uses client portion instead of full order total
When customers pay for ADP quotations through the portal, the system
was charging the full order amount (ADP + client portions combined).
Now correctly charges only the client portion (25% for REG clients).

Changes:
- Override _get_prepayment_required_amount() to return client portion
- Override _has_to_be_paid() to skip payment for 100% ADP-funded orders
- Add portal controller to cap payment amount at client portion
- Add portal template showing ADP funding breakdown to customer
2026-03-09 21:11:19 +00:00

17 lines
452 B
Python

# -*- coding: utf-8 -*-
# Copyright 2024-2025 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
# Part of the Fusion Claim Assistant product family.
from . import models
from . import controllers
from . import wizard
def _load_adp_device_codes(env):
"""
Post-init hook to load ADP Mobility Manual device codes.
Called on module install AND upgrade.
"""
env['fusion.adp.device.code']._load_packaged_device_codes()