From 8bfb5d5855b73d7763d78805a386ce69510d4e14 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#12962 X-original-commit: a9577b59b5d78aba73fd743e2928356dad4e158a 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 78b599fd32..1f394a276c 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