Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
7202 Переглядів

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.

Аватар
Відмінити
Автор Найкраща відповідь

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)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
13060
1
трав. 16
5215
1
серп. 15
6253
0
лют. 20
5001
1
лют. 17
3982