跳至内容
菜单
此问题已终结
1 回复
6638 查看

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)

形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
12567
1
5月 16
4640
1
8月 15
5780
0
2月 20
4518
1
2月 17
3453