Skip to content

Commit 71ed956

Browse files
authored
C2C-373: Load domain files alphabetically (based on file name) as default loading order. (#55)
Load domain files alphabetically as default loading order. Issue: https://mekomsolutions.slack.com/archives/G421UNF5L/p1731939893305329?thread_ts=1731493086.511119&cid=G421UNF5L
1 parent dbe0bac commit 71ed956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odoo_initializer/utils/data_files_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_files(self, folder, allowed_extensions, model_name):
5252
continue
5353
import_files.append(file_path)
5454

55-
return import_files
55+
return sorted(import_files)
5656

5757
def get_file_content(self, file_path, allowed_extensions):
5858
with open(file_path, "r") as file_data:

0 commit comments

Comments
 (0)