From 226ce897566014de64b5f80005855d290607a164 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. closes odoo/documentation#12982 X-original-commit: 8bfb5d5855b73d7763d78805a386ce69510d4e14 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 571e323e61..afc540ce68 100644 --- a/content/contributing/development/coding_guidelines.rst +++ b/content/contributing/development/coding_guidelines.rst @@ -424,7 +424,7 @@ Inside these 3 groups, the imported lines are alphabetically sorted. import time from datetime import datetime # 2 : imports of odoo - from odoo import Command, _, api, fields, models # alphabetically ordered + from odoo import Command, _, api, fields, models # ASCIIbetically ordered from odoo.fields import Domain from odoo.tools.safe_eval import safe_eval as eval # 3 : imports from odoo addons