From 7c497d536bdfe6ea5f865da358cd77cf2d0a7cc7 Mon Sep 17 00:00:00 2001 From: Harsh Modi Date: Fri, 18 Apr 2025 07:54:50 +0000 Subject: [PATCH] [FIX] coding_guidelines: Add comment to indicate ASCII-based ordering Following the fix - https://github.com/odoo/documentation/pull/11983/commits/92c7099a0ee88b548f04ecd36e46663c2e88dc70 Adding a comment to explicitly indicate that the import is ordered alphabetically based on ASCII values. X-original-commit: a9577b59b5d78aba73fd743e2928356dad4e158a --- content/contributing/development/coding_guidelines.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/contributing/development/coding_guidelines.rst b/content/contributing/development/coding_guidelines.rst index 93a3f2942c..074e7fdc5a 100644 --- a/content/contributing/development/coding_guidelines.rst +++ b/content/contributing/development/coding_guidelines.rst @@ -425,7 +425,7 @@ Inside these 3 groups, the imported lines are alphabetically sorted. from datetime import datetime # 2 : imports of odoo import odoo - from odoo import Command, _, api, fields, models # alphabetically ordered + from odoo import Command, _, api, fields, models # ASCIIbetically ordered from odoo.tools.safe_eval import safe_eval as eval # 3 : imports from odoo addons from odoo.addons.web.controllers.main import login_redirect