来自文档:
Creating a basic module
In Odoo, tasks are performed by creating modules.
Modules customize the behavior of an Odoo installation, either by adding new behaviors or by altering existing ones (including behaviors added by other modules).
Odoo's scaffolding can setup a basic module. To quickly get started simply invoke:
$ ./odoo.py scaffold Academy my-modules
结果:
$ ./odoo.py scaffold Academy my-modules
-bash: ./odoo.py: No such file or directory
$ python ./odoo.py scaffold Academy my-modules
python: can't open file './odoo.py': [Errno 2] No such file or directory
$ sudo python ./odoo.py scaffold Academy my-modules
python: can't open file './odoo.py': [Errno 2] No such file or directory
$ odoo.py scaffold Academy my-modules
odoo.py: command not found
$ python odoo.py scaffold Academy my-modules
python: can't open file 'odoo.py': [Errno 2] No such file or directory
$ sudo python odoo.py scaffold Academy my-modules
python: can't open file 'odoo.py': [Errno 2] No such file or directory
我根据https://www.getopenerp.com/install-odoo-10-on-ubuntu-16-04/中的步骤在 ubuntu 16.04 虚拟机上安装了 odoo 10
我find | grep odoo.py
在我的安装文件夹中做了,它回来是空的。