environment:
Operating system: CentOS7
Odoo Edition Book: GreenOdoo8.0
In this environment, ready to create a new module, execute:
./odoo.py scdffold openacademy ../../myaddons/
, will report:
...
File "/data1/odoo/GreenOdoo-8.0-linux64/source/openerp/osv/orm.py", line 1, in <module>
import simplejson
ImportError: No module named simplejson
, this is not the lack of the corresponding class in GreenOdoo, but when odoo.py is executed, the Python that comes with CentOS is used, so this class cannot be found, just use the Python brought by GreenOdoo to execute:
../runtime/python/bin/python2.7 ./odoo.py scdffold openacademy ../../myaddons/