[FIX] coding_guidelines: Add comment to indicate ASCII-based ordering

Following the fix - 92c7099a0e
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) <hamo@odoo.com>
This commit is contained in:
Harsh Modi
2025-04-18 13:24:50 +05:30
parent 89c4692a47
commit a9577b59b5

View File

@@ -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