Skip to content

Bash script to quickly scaffold Odoo modules with standard structure and templates.

License

Notifications You must be signed in to change notification settings

Naraka/odoo-module-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Odoo Module Scaffold

A Bash script to quickly generate a scaffold for an Odoo module with the standard folder structure and essential files.


Features

  • Creates the necessary folders (models, views, security).
  • Generates the __init__.py, __manifest__.py, and essential XML and CSV files.
  • Includes default content for menus, actions, and model definitions.

Installation

sudo mv create_odoo_module.sh /usr/local/bin/create_odoo_module
sudo chmod +x /usr/local/bin/create_odoo_module

Usage

Run the script with the following parameters:

create_odoo_module <module_name> <module_path>

Output

The script will generate the following structure:

<module_path>/<module_name>/
├── __init__.py
├── __manifest__.py
├── models/
│   ├── __init__.py
│   └── <module_name>.py
├── views/
│   └── <module_name>.xml
└── security/
    └── ir.model.access.csv

About

Bash script to quickly scaffold Odoo modules with standard structure and templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages