Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


odoo.py scaffold to create an empty module in V8 doesn't produce all files

on 2/19/15, 4:50 PM 1,997 views

I'm trying to create my first module by following instructions from docs (https://www.odoo.com/documentation/8.0/howtos/backend.html#build-an-odoo-module), but it seems that the scaffolding command doesn't generate proper files.

It only generates 3 files : demo.xml, templates.xml and security/ir.model.access.csv. 

The generated module doesn't appear in local module screen.

I'm using the official docker image.

On 2/19/15, 6:21 PM

This is due to a bug in python packaging (https://github.com/odoo/odoo/pull/5393).

Python files are missing from scaffold templates. Workaround is to copy them manually from sources (https://github.com/odoo/odoo/tree/8.0/openerp/cli/templates/default)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/19/15, 4:50 PM
Seen: 1997 times
Last updated: 3/16/15, 8:10 AM