8000 [FW][FIX] coding_guidelines: fix the alphabetic orders for the import by fw-bot · Pull Request #11990 · odoo/documentation · GitHub
[go: up one dir, main page]

Skip to content

[FW][FIX] coding_guidelines: fix the alphabetic orders for the import #11990

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 8000 privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

fw-bot
Copy link
Collaborator
@fw-bot fw-bot commented Feb 7, 2025

In odoo, as we suggest everyone to follow an alphebetic order.

The translator(_), ASCII is 95 and a ASCII value is 97 which '_' < 'a', the translator should be defined first in the import before the api not at the end of the import

This commits adds an example to import static class Command with a Capital alphabet with a ASCII value of C as 67 which will be before than the _
'C' < '_' < 'a'

This order of import should be followed while the import

Forward-Port-Of: #11983

In odoo, as we suggest everyone to follow an alphebetic order.

The translator(`_`), ASCII is 95 and `a` ASCII value is 97
which '_' < 'a', the translator should be defined first in the
import before the `api` not at the end of the import

This commits adds an example to import static class `Command`
with a Capital alphabet with a ASCII value of `C` as 67
which will be before than the `_`
'C' < '_' < 'a'

This order of import should be followed while the import

X-original-commit: c7a6b67
@robodoo
Copy link
Collaborator
robodoo commented Feb 7, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author
fw-bot commented Feb 7, 2025

This PR targets 18.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

robodoo pushed a commit that referenced this pull request Feb 7, 2025
In odoo, as we suggest everyone to follow an alphebetic order.

The translator(`_`), ASCII is 95 and `a` ASCII value is 97
which '_' < 'a', the translator should be defined first in the
import before the `api` not at the end of the import

This commits adds an example to import static class `Command`
with a Capital alphabet with a ASCII value of `C` as 67
which will be before than the `_`
'C' < '_' < 'a'

This order of import should be followed while the import

closes #11990

X-original-commit: c7a6b67
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Harsh Modi (hamo) <hamo@odoo.com>
@robodoo robodoo closed this in 853583b Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0