← Back to team overview

openerp-community team mailing list archive

Re: CamelCase

 

On 04/04/2014 11:05 AM, Sebastien Beau wrote:
Hi All,
I always hesitate to move or not on CamelCase for every class in OCA module.
I prefer CamelCase but a lot of code do not use it.
And sometime not using CamelCase can introduce bug and you have to rename the class in something different like here https://code.launchpad.net/~camptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde/+merge/213881 <https://code.launchpad.net/%7Ecamptocamp/carriers-deliveries/7.0-change-class-name-to-avoid-error_rde/+merge/213881>

Maybe it's time to move on CamelCase and update the great Nicolas Bessi tools to check the class name (https://github.com/nbessi/openerp-conventions)?

What do you think?

+1


References