odoo/documentation#14706
Created by fw-bot
Merged
at 9da4f4da3e70a14ad2ef5e2c0ddde1a445373dd7
Statuses:
- ci/documentation: (runtime 1028s)
- ci/codeowner_coverage: (runtime 4s)
- label
- odoo-dev:18.0-17.0-fix-camel-case-for-pascal-case-flg-465659-fw
- head
- efc8bcf9fa48ba645e1f1d64ccc1dc6af5284343
- merged
- 8 hours ago by Accounting, Florian Gilbert (flg)
odoo/documentation | |
---|---|
17.0 | #14679 |
18.0 | #14706 |
saas-18.2 | #14707 |
saas-18.3 | #14708 |
saas-18.4 | #14709 |
19.0 | #14710 |
master | #14711 |
[FIX] coding_guidelines: Change camelcase for Pascal case
The coding guidelines establish that we have to write class declaration for both Python and JavaScript in camel case but it's actually in Pascal case. It also establishing that model variable (ex: Partner = self.env['res.partner]'
) has to be in camel case but it's actually following the Pascal case.
Pascal case has to start all variables with a capital letter where camel case is starting with a lower case letter.
Source: https://builtin.com/articles/pascal-case-vs-camel-case
no task id
Forward-Port-Of: #14679