8000 [FW][FIX] coding_guidelines: Add comment to indicate ASCII-based ordering by fw-bot · Pull Request #12956 · odoo/documentation · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
[FIX] coding_guidelines: Add comment to indicate ASCII-based ordering
Following the fix - 92c7099
Adding a comment to explicitly indicate that the import is ordered
alphabetically based on ASCII values.

X-original-commit: a9577b5
  • Loading branch information
hamo-odoo committed Apr 18, 2025
commit 8d63b0408e8f37a710a8816f5b157099373deb03
2 changes: 1 addition & 1 deletion content/contributing/development/coding_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
0