Sunday, November 12, 2023
1 change · 17.0
Resolved issues and error corrections
Fixes the Activate action for custom modules so Odoo installs the uploaded module directly instead of trying to download it as an app. This prevents a misleading connection error and lets users install custom modules normally.
Original PR description
[FIX] base_import_module: Install custom module instead of attempting to download Versions: --------- - 17.0 Steps to reproduce: ------------------- 1. Install any custom module. Issue: ------ Odoo raises the error "Connection to %s failed; the module %s cannot be downloaded." Cause: ------ The "activate" button on custom modules triggers the "button_immediate_install_app" method instead of "button_immediate_install" because the "module_type" field is empty for custom modules. Solution: --------- Display the "button_immediate_install" button on the modules kanban view when the "module_type" is empty. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr