Repository navigation
New Odoo Module
rafageist edited this page Nov 30, 2026
·
1 revision
File > New Odoo module writes a new Odoo 19 or 20 module after showing every file it will create.

- Choose the addons folder, Odoo 19 or 20, the technical and display names, the dependencies, the author and, optionally, a first model with its description and its views.
- Preview shows every file and its text. Nothing is on disk yet; Back returns to the wizard with what you typed.
- Generate writes the files and opens the model and its views, with the module in the Explorer.
The files are ordinary Odoo source: __manifest__.py, __init__.py, models/__init__.py, the model, its access rights and, if chosen, views/<model>_views.xml with list, form and search views, an action and menus.
-
Odoo 19 gets
security/ir.model.access.csv; Odoo 20, which replacedir.model.accesswithir.access, getssecurity/ir.access.csv. Both use<list>views. - The first model is a new model (
_name), not an extension (_inherit). Its access rights give internal users (base.group_user) create, read, write and delete: narrow them as needed. - The same choices always produce the same files.
- Nothing is written outside the chosen folder, a module folder that already holds anything is never written into, and a file that appears between the preview and Generate stops it: what that generation had written is removed again.


To extend the module afterwards, see Add Models and Fields.
Turbodoo · part of Divengine · report an issue