odoo/odoo#236348

Created by fw-bot
Merged at 311abca46d1914792cb21559531cd8e7680fefb5

Statuses:

label
odoo-dev:saas-18.4-17.0-case-insensitive-csv-fix-sauc-478137-fw
head
bee2a0eed23a97e1c8a9fa0a479397fe6383cada
merged
9 months ago by JavaScript, Saurabh Choraria (sauc)
odoo/odoo
17.0 #235061
18.0 #236020
saas-18.2 #236290
saas-18.3 #236326
saas-18.4 #236348
19.0 #236476
saas-19.1
saas-19.2
saas-19.3
saas-19.4
master #236493

[FIX] base_import: handle CSV extension case-insensitively

Before this fix, the import side panel displayed the formatting options
only when the uploaded file had a lowercase .csv extension.
Files with an uppercase .CSV extension could still be imported but did
not show the format selection section, leading to inconsistent behavior.

This commit updates the condition to perform a
case-insensitive comparison on the file extension.

task-5145031


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #236020
Forward-Port-Of: #235061