Expert guide for Odoo 19 development, including Backend (ORM), Frontend (Owl), OCA standards, and Docker debugging...
This skill provides specialized knowledge and workflows for developing, debugging, and maintaining Odoo 19 applications using Docker-based environments.
api.model, api.depends) and Owl 2 components. Avoid deprecated features.docker-compose).ir.model.access.csv and necessary Record Rules. Use api.constrains for data integrity.This skill includes specialized guides. Read them based on the task:
docker-compose -f <compose_file> exec -it odoo odoo scaffold my_module /mnt/extra-addons. (Use docker-compose.dev.phuoctv.yml if it exists, otherwise fallback to .dev.yml or .yml)models/ (Python files) and ir.model.access.csv in security/.views/ (XML files) for menus, forms, trees, and search views.import pdb; pdb.set_trace() inside the method. Attach to the container (see Docker guide).docker-compose -f docker-compose.dev.phuoctv.yml logs -f odoo for server-side errors.scripts/odoo_shell.sh to interact with the database via Python.scripts/run_tests.sh <module_name> to execute the module suite.