1.执行测试命令:
coverage run odoo-bin -c odoo.conf --test-enable -d demo01 -u demo --log-level test --stop-after-init
[run] source = ./my_addons/demo omit = */tests/*,*/__init__.py,*/__manifest__.py
coverage html