Isort reordering core code

I’m trying to use isort according to the Coding Guidelines, but I’m failing.

Inside tryton/modules/party I run the following:
isort -m VERTICAL_GRID -p trytond . --settings-path=../../
I’m adding the settings path to be sure that it gets the correct config file, but does not affect the result.

I have results like this where it’s changed:

FTR, this is my --show-config
[$] isort -m VERTICAL_GRID -p trytond . --settings-path=../../ --show-config

Open output
{
    "_known_patterns": null,
    "_section_comments": null,
    "_section_comments_end": null,
    "_skips": null,
    "_skip_globs": null,
    "_sorting_function": null,
    "py_version": "py3",
    "force_to_top": [],
    "skip": [
        ".mypy_cache",
        "_build",
        ".nox",
        "build",
        "buck-out",
        ".hg",
        ".bzr",
        ".pants.d",
        "venv",
        "__pypackages__",
        ".svn",
        "dist",
        ".direnv",
        ".pytype",
        ".eggs",
        ".git",
        ".venv",
        ".tox",
        "node_modules"
    ],
    "extend_skip": [],
    "skip_glob": [],
    "extend_skip_glob": [],
    "skip_gitignore": false,
    "line_length": 79,
    "wrap_length": 0,
    "line_ending": "",
    "sections": [
        "FUTURE",
        "STDLIB",
        "THIRDPARTY",
        "FIRSTPARTY",
        "LOCALFOLDER"
    ],
    "no_sections": false,
    "known_future_library": [
        "__future__"
    ],
    "known_third_party": [],
    "known_first_party": [
        "trytond"
    ],
    "known_local_folder": [],
    "known_standard_library": [
        "resource",
        "parser",
        "zipapp",
        "os",
        "curses",
        "argparse",
        "pprint",
        "netrc",
        "msilib",
        "fractions",
        "html",
        "binhex",
        "telnetlib",
        "nis",
        "webbrowser",
        "operator",
        "plistlib",
        "importlib",
        "queue",
        "itertools",
        "configparser",
        "sys",
        "socket",
        "turtledemo",
        "stringprep",
        "time",
        "dummy_threading",
        "site",
        "ssl",
        "ntpath",
        "sitecustomize",
        "calendar",
        "shelve",
        "asyncio",
        "filecmp",
        "faulthandler",
        "rlcompleter",
        "array",
        "bisect",
        "copyreg",
        "tomllib",
        "marshal",
        "struct",
        "optparse",
        "re",
        "difflib",
        "mailbox",
        "poplib",
        "contextlib",
        "timeit",
        "posix",
        "audioop",
        "concurrent",
        "py_compile",
        "cmath",
        "doctest",
        "fpectl",
        "logging",
        "codeop",
        "code",
        "tarfile",
        "nntplib",
        "dbm",
        "io",
        "textwrap",
        "ftplib",
        "ast",
        "dataclasses",
        "pickle",
        "_tkinter",
        "secrets",
        "venv",
        "base64",
        "inspect",
        "aifc",
        "hashlib",
        "uu",
        "sre_constants",
        "msvcrt",
        "weakref",
        "sre",
        "xmlrpc",
        "encodings",
        "winsound",
        "tty",
        "_dummy_thread",
        "ossaudiodev",
        "signal",
        "xml",
        "pydoc",
        "bdb",
        "crypt",
        "tempfile",
        "graphlib",
        "decimal",
        "idlelib",
        "tracemalloc",
        "glob",
        "getpass",
        "pkgutil",
        "functools",
        "datetime",
        "token",
        "zlib",
        "sunau",
        "formatter",
        "symbol",
        "quopri",
        "locale",
        "fcntl",
        "runpy",
        "lib2to3",
        "sched",
        "fileinput",
        "lzma",
        "grp",
        "gzip",
        "ctypes",
        "typing",
        "pathlib",
        "string",
        "selectors",
        "sre_compile",
        "sqlite3",
        "http",
        "json",
        "abc",
        "multiprocessing",
        "stat",
        "zoneinfo",
        "cgi",
        "traceback",
        "getopt",
        "socketserver",
        "warnings",
        "sre_parse",
        "dis",
        "collections",
        "shlex",
        "_thread",
        "contextvars",
        "syslog",
        "colorsys",
        "hmac",
        "profile",
        "copy",
        "subprocess",
        "enum",
        "ensurepip",
        "sysconfig",
        "distutils",
        "platform",
        "math",
        "fnmatch",
        "gc",
        "pwd",
        "mimetypes",
        "pickletools",
        "cgitb",
        "chunk",
        "winreg",
        "builtins",
        "keyword",
        "ipaddress",
        "asyncore",
        "reprlib",
        "pyclbr",
        "bz2",
        "codecs",
        "posixpath",
        "threading",
        "pstats",
        "imghdr",
        "wave",
        "sndhdr",
        "gettext",
        "readline",
        "termios",
        "symtable",
        "uuid",
        "heapq",
        "imp",
        "xdrlib",
        "compileall",
        "tabnanny",
        "statistics",
        "csv",
        "random",
        "pdb",
        "asynchat",
        "numbers",
        "mmap",
        "trace",
        "usercustomize",
        "turtle",
        "pty",
        "shutil",
        "imaplib",
        "atexit",
        "select",
        "cmd",
        "unicodedata",
        "unittest",
        "zipfile",
        "email",
        "wsgiref",
        "pipes",
        "errno",
        "smtpd",
        "spwd",
        "cProfile",
        "binascii",
        "_ast",
        "zipimport",
        "linecache",
        "test",
        "types",
        "macpath",
        "tokenize",
        "modulefinder",
        "tkinter",
        "urllib",
        "mailcap",
        "smtplib"
    ],
    "extra_standard_library": [],
    "known_other": {},
    "multi_line_output": "VERTICAL_GRID",
    "forced_separate": [],
    "indent": "    ",
    "comment_prefix": "  #",
    "length_sort": false,
    "length_sort_straight": false,
    "length_sort_sections": [],
    "add_imports": [],
    "remove_imports": [],
    "append_only": false,
    "reverse_relative": false,
    "force_single_line": false,
    "single_line_exclusions": [],
    "default_section": "THIRDPARTY",
    "import_headings": {},
    "import_footers": {},
    "balanced_wrapping": false,
    "use_parentheses": false,
    "order_by_type": true,
    "atomic": false,
    "lines_before_imports": -1,
    "lines_after_imports": -1,
    "lines_between_sections": 1,
    "lines_between_types": 0,
    "combine_as_imports": false,
    "combine_star": false,
    "include_trailing_comma": false,
    "from_first": false,
    "verbose": false,
    "quiet": false,
    "force_adds": false,
    "force_alphabetical_sort_within_sections": false,
    "force_alphabetical_sort": false,
    "force_grid_wrap": 0,
    "force_sort_within_sections": false,
    "lexicographical": false,
    "group_by_package": false,
    "ignore_whitespace": false,
    "no_lines_before": [],
    "no_inline_sort": false,
    "ignore_comments": false,
    "case_sensitive": false,
    "sources": [
        {
            "py_version": "py3",
            "force_to_top": [],
            "skip": [
                ".mypy_cache",
                "_build",
                ".nox",
                "build",
                "buck-out",
                ".hg",
                ".bzr",
                ".pants.d",
                "venv",
                "__pypackages__",
                ".svn",
                "dist",
                ".direnv",
                ".pytype",
                ".eggs",
                ".git",
                ".venv",
                ".tox",
                "node_modules"
            ],
            "extend_skip": [],
            "skip_glob": [],
            "extend_skip_glob": [],
            "skip_gitignore": false,
            "line_length": 79,
            "wrap_length": 0,
            "line_ending": "",
            "sections": [
                "FUTURE",
                "STDLIB",
                "THIRDPARTY",
                "FIRSTPARTY",
                "LOCALFOLDER"
            ],
            "no_sections": false,
            "known_future_library": [
                "__future__"
            ],
            "known_third_party": [],
            "known_first_party": [],
            "known_local_folder": [],
            "known_standard_library": [
                "resource",
                "parser",
                "zipapp",
                "os",
                "curses",
                "argparse",
                "pprint",
                "netrc",
                "msilib",
                "fractions",
                "html",
                "binhex",
                "telnetlib",
                "nis",
                "webbrowser",
                "operator",
                "plistlib",
                "importlib",
                "queue",
                "itertools",
                "configparser",
                "sys",
                "socket",
                "turtledemo",
                "stringprep",
                "time",
                "dummy_threading",
                "site",
                "ssl",
                "ntpath",
                "sitecustomize",
                "calendar",
                "shelve",
                "asyncio",
                "filecmp",
                "faulthandler",
                "rlcompleter",
                "array",
                "bisect",
                "copyreg",
                "tomllib",
                "marshal",
                "struct",
                "optparse",
                "re",
                "difflib",
                "mailbox",
                "poplib",
                "contextlib",
                "timeit",
                "posix",
                "audioop",
                "concurrent",
                "py_compile",
                "cmath",
                "doctest",
                "fpectl",
                "logging",
                "codeop",
                "code",
                "tarfile",
                "nntplib",
                "dbm",
                "io",
                "textwrap",
                "ftplib",
                "ast",
                "dataclasses",
                "pickle",
                "_tkinter",
                "secrets",
                "venv",
                "base64",
                "inspect",
                "aifc",
                "hashlib",
                "uu",
                "sre_constants",
                "msvcrt",
                "weakref",
                "sre",
                "xmlrpc",
                "encodings",
                "winsound",
                "tty",
                "_dummy_thread",
                "ossaudiodev",
                "signal",
                "xml",
                "pydoc",
                "bdb",
                "crypt",
                "tempfile",
                "graphlib",
                "decimal",
                "idlelib",
                "tracemalloc",
                "glob",
                "getpass",
                "pkgutil",
                "functools",
                "datetime",
                "token",
                "zlib",
                "sunau",
                "formatter",
                "symbol",
                "quopri",
                "locale",
                "fcntl",
                "runpy",
                "lib2to3",
                "sched",
                "fileinput",
                "lzma",
                "grp",
                "gzip",
                "ctypes",
                "typing",
                "pathlib",
                "string",
                "selectors",
                "sre_compile",
                "sqlite3",
                "http",
                "json",
                "abc",
                "multiprocessing",
                "stat",
                "zoneinfo",
                "cgi",
                "traceback",
                "getopt",
                "socketserver",
                "warnings",
                "sre_parse",
                "dis",
                "collections",
                "shlex",
                "_thread",
                "contextvars",
                "syslog",
                "colorsys",
                "hmac",
                "profile",
                "copy",
                "subprocess",
                "enum",
                "ensurepip",
                "sysconfig",
                "distutils",
                "platform",
                "math",
                "fnmatch",
                "gc",
                "pwd",
                "mimetypes",
                "pickletools",
                "cgitb",
                "chunk",
                "winreg",
                "builtins",
                "keyword",
                "ipaddress",
                "asyncore",
                "reprlib",
                "pyclbr",
                "bz2",
                "codecs",
                "posixpath",
                "threading",
                "pstats",
                "imghdr",
                "wave",
                "sndhdr",
                "gettext",
                "readline",
                "termios",
                "symtable",
                "uuid",
                "heapq",
                "imp",
                "xdrlib",
                "compileall",
                "tabnanny",
                "statistics",
                "csv",
                "random",
                "pdb",
                "asynchat",
                "numbers",
                "mmap",
                "trace",
                "usercustomize",
                "turtle",
                "pty",
                "shutil",
                "imaplib",
                "atexit",
                "select",
                "cmd",
                "unicodedata",
                "unittest",
                "zipfile",
                "email",
                "wsgiref",
                "pipes",
                "errno",
                "smtpd",
                "spwd",
                "cProfile",
                "binascii",
                "_ast",
                "zipimport",
                "linecache",
                "test",
                "types",
                "macpath",
                "tokenize",
                "modulefinder",
                "tkinter",
                "urllib",
                "mailcap",
                "smtplib"
            ],
            "extra_standard_library": [],
            "known_other": {},
            "multi_line_output": "GRID",
            "forced_separate": [],
            "indent": "    ",
            "comment_prefix": "  #",
            "length_sort": false,
            "length_sort_straight": false,
            "length_sort_sections": [],
            "add_imports": [],
            "remove_imports": [],
            "append_only": false,
            "reverse_relative": false,
            "force_single_line": false,
            "single_line_exclusions": [],
            "default_section": "THIRDPARTY",
            "import_headings": {},
            "import_footers": {},
            "balanced_wrapping": false,
            "use_parentheses": false,
            "order_by_type": true,
            "atomic": false,
            "lines_before_imports": -1,
            "lines_after_imports": -1,
            "lines_between_sections": 1,
            "lines_between_types": 0,
            "combine_as_imports": false,
            "combine_star": false,
            "include_trailing_comma": false,
            "from_first": false,
            "verbose": false,
            "quiet": false,
            "force_adds": false,
            "force_alphabetical_sort_within_sections": false,
            "force_alphabetical_sort": false,
            "force_grid_wrap": 0,
            "force_sort_within_sections": false,
            "lexicographical": false,
            "group_by_package": false,
            "ignore_whitespace": false,
            "no_lines_before": [],
            "no_inline_sort": false,
            "ignore_comments": false,
            "case_sensitive": false,
            "sources": [],
            "virtual_env": "",
            "conda_env": "",
            "ensure_newline_before_comments": false,
            "directory": "",
            "profile": "",
            "honor_noqa": false,
            "src_paths": [],
            "old_finders": false,
            "remove_redundant_aliases": false,
            "float_to_top": false,
            "filter_files": false,
            "formatter": "",
            "formatting_function": null,
            "color_output": false,
            "treat_comments_as_code": [],
            "treat_all_comments_as_code": false,
            "supported_extensions": [
                "pyi",
                "pxd",
                "pyx",
                "py"
            ],
            "blocked_extensions": [
                "pex"
            ],
            "constants": [],
            "classes": [],
            "variables": [],
            "dedup_headings": false,
            "only_sections": false,
            "only_modified": false,
            "combine_straight_imports": false,
            "auto_identify_namespace_packages": true,
            "namespace_packages": [],
            "follow_links": true,
            "indented_import_headings": true,
            "honor_case_in_force_sorted_sections": false,
            "sort_relative_in_force_sorted_sections": false,
            "overwrite_in_place": false,
            "reverse_sort": false,
            "star_first": false,
            "git_ls_files": {},
            "format_error": "{error}: {message}",
            "format_success": "{success}: {message}",
            "sort_order": "natural",
            "sort_reexports": false,
            "split_on_trailing_comma": false,
            "source": "defaults"
        },
        {
            "multi_line_output": "VERTICAL_GRID",
            "known_first_party": [
                "trytond",
                "trytond_gis"
            ],
            "source": "/home/vant/Documentos/foss/tryton/.isort.cfg"
        },
        {
            "multi_line_output": "VERTICAL_GRID",
            "known_first_party": [
                "trytond"
            ],
            "source": "runtime"
        }
    ],
    "virtual_env": "",
    "conda_env": "",
    "ensure_newline_before_comments": false,
    "directory": "/home/vant/Documentos/foss/tryton",
    "profile": "",
    "honor_noqa": false,
    "src_paths": [
        "/home/vant/Documentos/foss/tryton/src",
        "/home/vant/Documentos/foss/tryton"
    ],
    "old_finders": false,
    "remove_redundant_aliases": false,
    "float_to_top": false,
    "filter_files": false,
    "formatter": "",
    "formatting_function": null,
    "color_output": false,
    "treat_comments_as_code": [],
    "treat_all_comments_as_code": false,
    "supported_extensions": [
        "pyi",
        "pxd",
        "pyx",
        "py"
    ],
    "blocked_extensions": [
        "pex"
    ],
    "constants": [],
    "classes": [],
    "variables": [],
    "dedup_headings": false,
    "only_sections": false,
    "only_modified": false,
    "combine_straight_imports": false,
    "auto_identify_namespace_packages": true,
    "namespace_packages": [],
    "follow_links": true,
    "indented_import_headings": true,
    "honor_case_in_force_sorted_sections": false,
    "sort_relative_in_force_sorted_sections": false,
    "overwrite_in_place": false,
    "reverse_sort": false,
    "star_first": false,
    "git_ls_files": {},
    "format_error": "{error}: {message}",
    "format_success": "{success}: {message}",
    "sort_order": "natural",
    "sort_reexports": false,
    "split_on_trailing_comma": false
}