From a9577b59b5d78aba73fd743e2928356dad4e158a Mon Sep 17 00:00:00 2001 From: Harsh Modi Date: Fri, 18 Apr 2025 13:24:50 +0530 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. closes odoo/documentation#12951 Signed-off-by: Harsh Modi (hamo) --- 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 a6c214dd7..d8ca7ff52 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