odoo/documentation#11983
Created by Accounting, Harsh Modi (hamo)
Merged
at c7a6b67a870a9aa1f30b28895310675346fcb8a6
Statuses:
- ci/documentation: (runtime 451s)
- ci/codeowner_coverage: (runtime 3s)
- label
- odoo-dev:18.0-coding_guidelines-alpha-order-fix-hamo
- head
- 92c7099a0ee88b548f04ecd36e46663c2e88dc70
- merged
- 5 months ago by Sales, Antoine Vandevenne (anv)
odoo/documentation | |
---|---|
16.0 | #11983 |
17.0 | #11987 |
saas-17.2 | #11988 |
saas-17.4 | #11989 |
18.0 | #11990 |
saas-18.1 | #11991 |
saas-18.2 | |
saas-18.3 | |
master | #11992 |
[FIX] coding_guidelines: fix the alphabetic orders for the import
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