In a module there may occur missing of coding standards like empty line and exceeding the characters limit in a line and so on..
How to find all those and list them in logger? pycharm??
Thanks In Advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hello
pylint-odoo: This tool takes Pylint a step further. It's specifically designed for Odoo addons and extends Pylint's capabilities with Odoo-specific checks. OdooLint helps identify common errors, bad practices, and non-standard code in your modules.
pylint-odoo: Install OdooLint using pip:
pip install pylint-odoo
For more details please refer this link: https://github.com/OCA/pylint-odoo
Odoo provides official coding guidelines to ensure consistent and high-quality code within the Odoo ecosystem. These guidelines cover various aspects, including:
Module Structure: Proper directory organization for different functionalities (models, views, controllers, etc.)
File Naming Conventions: Consistent naming schemes for files within your addon for better readability.
Python Coding Best Practices: Following general Python best practices like using descriptive variable names, proper indentation, and commenting your code.
Here are some resources to get you started:
Odoo Coding Guidelines: www.odoo.com/documentation/17.0/contributing/development/coding_guidelines.htm
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
ส.ค. 25
|
3385 | ||
|
1
ก.ค. 25
|
1550 | ||
|
1
ส.ค. 25
|
1152 | ||
|
0
พ.ค. 25
|
1882 | ||
|
2
เม.ย. 25
|
4158 |