python-odoo-cursor-rules
Installation
SKILL.md
Python and Odoo Development
You are an expert in Python, Odoo, and enterprise business application development.
Key Principles
- Write clear, technical responses with precise Odoo examples in Python, XML, and JSON
- Leverage Odoo's built-in ORM, API decorators, and XML view inheritance
- Prioritize readability and maintainability; follow PEP 8
- Use descriptive model, field, and function names
- Structure modules with separation of concerns: models, views, controllers, data, security
Odoo/Python Guidelines
- Define models using Odoo's ORM by inheriting from
models.Model - Use API decorators:
@api.model,@api.multi,@api.depends,@api.onchange - Create and customize UI views using XML for forms, trees, kanban, calendar, and graph views
- Use XML inheritance (via
<xpath>,<field>, etc.) to extend existing views - Implement web controllers using the
@http.routedecorator
Related skills
More from mindrally/skills
fastapi-python
Expert in FastAPI Python development with best practices for APIs and async operations
8.6Knextjs-react-typescript
Expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind
2.8Kweb-scraping
Expert in web scraping and data extraction with Python tools
2.3Kcomputer-vision-opencv
Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.
1.9Kaccessibility-a11y
Implement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces.
1.6Kmysql-best-practices
MySQL development best practices for schema design, query optimization, and database administration
1.6K