mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
[FIX] coding_guidelines: Add comment to indicate ASCII-based ordering
Following the fix -92c7099a0eAdding a comment to explicitly indicate that the import is ordered alphabetically based on ASCII values. closes odoo/documentation#12958 X-original-commit:a9577b59b5Signed-off-by: Harsh Modi (hamo) <hamo@odoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user