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
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Claims',
|
||||
'version': '19.0.7.0.0',
|
||||
'version': '19.0.7.2.0',
|
||||
'category': 'Sales',
|
||||
'summary': 'Complete ADP Claims Management with Dashboard, Sales Integration, Billing Automation, and Two-Stage Verification.',
|
||||
'description': """
|
||||
@@ -84,6 +84,7 @@
|
||||
'calendar',
|
||||
'ai',
|
||||
'fusion_ringcentral',
|
||||
'fusion_tasks',
|
||||
],
|
||||
'external_dependencies': {
|
||||
'python': ['pdf2image', 'PIL'],
|
||||
@@ -102,6 +103,7 @@
|
||||
'views/res_company_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
'views/sale_order_views.xml',
|
||||
'views/sale_portal_templates.xml',
|
||||
'views/account_move_views.xml',
|
||||
'views/account_journal_views.xml',
|
||||
'wizard/adp_export_wizard_views.xml',
|
||||
@@ -128,6 +130,7 @@
|
||||
'wizard/odsp_pre_approved_wizard_views.xml',
|
||||
'wizard/odsp_ready_delivery_wizard_views.xml',
|
||||
'wizard/ltc_repair_create_so_wizard_views.xml',
|
||||
'wizard/send_page11_wizard_views.xml',
|
||||
'views/res_partner_views.xml',
|
||||
'views/pdf_template_inherit_views.xml',
|
||||
'views/dashboard_views.xml',
|
||||
@@ -140,9 +143,8 @@
|
||||
'views/adp_claims_views.xml',
|
||||
'views/submission_history_views.xml',
|
||||
'views/fusion_loaner_views.xml',
|
||||
'views/page11_sign_request_views.xml',
|
||||
'views/technician_task_views.xml',
|
||||
'views/task_sync_views.xml',
|
||||
'views/technician_location_views.xml',
|
||||
'report/report_actions.xml',
|
||||
'report/report_templates.xml',
|
||||
'report/sale_report_portrait.xml',
|
||||
@@ -153,7 +155,8 @@
|
||||
'report/report_proof_of_delivery.xml',
|
||||
'report/report_proof_of_delivery_standard.xml',
|
||||
'report/report_proof_of_pickup.xml',
|
||||
'report/report_rental_agreement.xml',
|
||||
|
||||
'report/report_approved_items.xml',
|
||||
'report/report_grab_bar_waiver.xml',
|
||||
'report/report_accessibility_contract.xml',
|
||||
'report/report_mod_quotation.xml',
|
||||
@@ -167,7 +170,6 @@
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
'fusion_claims/static/src/scss/fusion_claims.scss',
|
||||
'fusion_claims/static/src/css/fusion_task_map_view.scss',
|
||||
'fusion_claims/static/src/js/chatter_resize.js',
|
||||
'fusion_claims/static/src/js/document_preview.js',
|
||||
'fusion_claims/static/src/js/preview_button_widget.js',
|
||||
@@ -176,10 +178,9 @@
|
||||
'fusion_claims/static/src/js/tax_totals_patch.js',
|
||||
'fusion_claims/static/src/js/google_address_autocomplete.js',
|
||||
'fusion_claims/static/src/js/calendar_store_hours.js',
|
||||
'fusion_claims/static/src/js/fusion_task_map_view.js',
|
||||
'fusion_claims/static/src/js/attachment_image_compress.js',
|
||||
'fusion_claims/static/src/js/debug_required_fields.js',
|
||||
'fusion_claims/static/src/xml/document_preview.xml',
|
||||
'fusion_claims/static/src/xml/fusion_task_map_view.xml',
|
||||
],
|
||||
},
|
||||
'images': ['static/description/icon.png'],
|
||||
|
||||
Reference in New Issue
Block a user